Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009993/0.0009994, allocations: 106.6 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 193.8 kB / 17.55 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 43.86 kB / 300.1 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08656/0.08758, allocations: 49.45 MB / 349.6 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0015/0.0891, allocations: 0.5674 MB / 350.1 MB, free: 4.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.09057, allocations: 1.375 MB / 351.5 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.531e-05/0.0906, allocations: 0 / 351.5 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.09063, allocations: 0 / 351.5 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/0.09066, allocations: 3.938 kB / 351.5 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.09119, allocations: 165.1 kB / 351.7 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.23e-05/0.09124, allocations: 15.94 kB / 351.7 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.203e-05/0.09128, allocations: 0 / 351.7 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.493e-05/0.09132, allocations: 15.97 kB / 351.7 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.376e-05/0.09137, allocations: 7.938 kB / 351.7 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.09138, allocations: 0 / 351.7 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.09156, allocations: 123.8 kB / 351.8 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-06/0.09158, allocations: 4 kB / 351.8 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.09161, allocations: 11.94 kB / 351.8 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.09178, allocations: 119.8 kB / 352 MB, free: 2.344 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.0918, allocations: 0 / 352 MB, free: 2.344 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.0918, allocations: 0 / 352 MB, free: 2.344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.09181, allocations: 0 / 352 MB, free: 2.344 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003064/0.09212, allocations: 347.7 kB / 352.3 MB, free: 1.957 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.09217, allocations: 8.031 kB / 352.3 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.09221, allocations: 8.938 kB / 352.3 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.09233, allocations: 164.3 kB / 352.5 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.09234, allocations: 8.375 kB / 352.5 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.09236, allocations: 12.05 kB / 352.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.595e-05/0.09245, allocations: 33.64 kB / 352.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.09247, allocations: 0 / 352.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.09248, allocations: 0 / 352.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.09249, allocations: 4 kB / 352.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.09251, allocations: 0 / 352.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.09296, allocations: 477 kB / 353 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.09308, allocations: 173.1 kB / 353.2 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.09312, allocations: 80.14 kB / 353.3 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.09315, allocations: 83.27 kB / 353.3 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.0932, allocations: 105.8 kB / 353.4 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.0932, allocations: 4 kB / 353.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.352e-05/0.09327, allocations: 25.7 kB / 353.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.09335, allocations: 152.4 kB / 353.6 MB, free: 496 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.09347, allocations: 117.8 kB / 353.7 MB, free: 368 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.09349, allocations: 25.7 kB / 353.8 MB, free: 336 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.09354, allocations: 88.03 kB / 353.8 MB, free: 244 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.09355, allocations: 0 / 353.8 MB, free: 244 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.09358, allocations: 17.72 kB / 353.9 MB, free: 220 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.09372, allocations: 322.8 kB / 354.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.09374, allocations: 0 / 354.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.876e-05/0.09376, allocations: 7.984 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.09379, allocations: 8.859 kB / 354.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.0938, allocations: 3.938 kB / 354.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.455e-05/0.0939, allocations: 37.7 kB / 354.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.09391, allocations: 4 kB / 354.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.09392, allocations: 4.125 kB / 354.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.09394, allocations: 0 / 354.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.483e-05/0.09399, allocations: 7.938 kB / 354.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.094, allocations: 0 / 354.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.09404, allocations: 0 / 354.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.09406, allocations: 3.984 kB / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.498e-05/0.09416, allocations: 189.1 kB / 354.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.09422, allocations: 101 kB / 354.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.09428, allocations: 116.5 kB / 354.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.673e-05/0.09434, allocations: 180.3 kB / 354.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-05/0.0944, allocations: 180.2 kB / 355 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.249e-05/0.09447, allocations: 180.2 kB / 355.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.09469, allocations: 409.2 kB / 355.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.013e-05/0.09472, allocations: 105.2 kB / 355.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.09477, allocations: 113 kB / 355.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.996e-05/0.09483, allocations: 176.3 kB / 356 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.09489, allocations: 192.2 kB / 356.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.201e-05/0.09495, allocations: 176.3 kB / 356.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.646e-05/0.09501, allocations: 184.2 kB / 356.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.09513, allocations: 307.8 kB / 356.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.0952, allocations: 189.9 kB / 357 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.09527, allocations: 180.3 kB / 357.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.058e-05/0.09537, allocations: 108.9 kB / 357.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.09544, allocations: 180.3 kB / 357.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.09548, allocations: 101 kB / 357.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.696e-05/0.09553, allocations: 91.27 kB / 357.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.724e-06/0.09554, allocations: 0 / 357.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.0958, allocations: 35.94 kB / 357.7 MB, free: 12.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000371/0.09618, allocations: 265.7 kB / 357.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.95e-05/0.09625, allocations: 7.938 kB / 357.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.09626, allocations: 0 / 357.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.09627, allocations: 0 / 357.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.09659, allocations: 455.7 kB / 358.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001668/0.09677, allocations: 168.3 kB / 358.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.09697, allocations: 0.6806 MB / 359.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.942e-05/0.09705, allocations: 11.98 kB / 359.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.09707, allocations: 7.438 kB / 359.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09707, allocations: 3.938 kB / 359.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Templates: time 0.002731/0.09981, allocations: 0.914 MB / 360.2 MB, free: 9.617 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches