Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001061/0.001061, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.0009812/0.0009812, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 225.1 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 47.92 kB / 281.3 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08837/0.09037, allocations: 46.64 MB / 327.9 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003324/0.09374, allocations: 2.266 MB / 330.2 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.09488, allocations: 0.7731 MB / 331 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.09494, allocations: 0 / 331 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.637e-05/0.09504, allocations: 7.938 kB / 331 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.09514, allocations: 4 kB / 331 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.09572, allocations: 211.5 kB / 331.2 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.09581, allocations: 19.92 kB / 331.2 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.09586, allocations: 4 kB / 331.2 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.201e-05/0.09591, allocations: 11.92 kB / 331.2 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/0.09598, allocations: 7.938 kB / 331.2 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.096, allocations: 4 kB / 331.3 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.09623, allocations: 139.8 kB / 331.4 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.09625, allocations: 7.984 kB / 331.4 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.09628, allocations: 15.92 kB / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.09651, allocations: 131.7 kB / 331.5 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.09653, allocations: 0 / 331.5 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.09653, allocations: 0 / 331.5 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.09654, allocations: 0 / 331.5 MB, free: 0.8359 MB / 270.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.0003624/0.09691, allocations: 351.7 kB / 331.9 MB, free: 456 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.09696, allocations: 8.031 kB / 331.9 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.09701, allocations: 8.922 kB / 331.9 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.09714, allocations: 164.3 kB / 332.1 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.09716, allocations: 8.375 kB / 332.1 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.09717, allocations: 4.375 kB / 332.1 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.209e-05/0.09727, allocations: 38 kB / 332.1 MB, free: 180 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.09728, allocations: 0 / 332.1 MB, free: 180 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.0973, allocations: 3.938 kB / 332.1 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.09731, allocations: 0 / 332.1 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.09734, allocations: 7.938 kB / 332.1 MB, free: 168 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.09769, allocations: 408 kB / 332.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.632e-05/0.09777, allocations: 165.1 kB / 332.7 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.0978, allocations: 80.14 kB / 332.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.09783, allocations: 75.28 kB / 332.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.09788, allocations: 117.8 kB / 332.9 MB, free: 15.26 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 2.705e-06/0.09789, allocations: 4 kB / 333 MB, free: 15.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.408e-05/0.09797, allocations: 29.7 kB / 333 MB, free: 15.22 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.09805, allocations: 152.4 kB / 333.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/0.09815, allocations: 117.8 kB / 333.2 MB, free: 14.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.09817, allocations: 29.7 kB / 333.3 MB, free: 14.89 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.09823, allocations: 88.12 kB / 333.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.09824, allocations: 0 / 333.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.09828, allocations: 13.72 kB / 333.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.273e-05/0.09837, allocations: 318.8 kB / 333.7 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.09839, allocations: 7.984 kB / 333.7 MB, free: 14.46 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.02e-05/0.09842, allocations: 8 kB / 333.7 MB, free: 14.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.09845, allocations: 12.73 kB / 333.7 MB, free: 14.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.09846, allocations: 4 kB / 333.7 MB, free: 14.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001089/0.09857, allocations: 41.69 kB / 333.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.09859, allocations: 4 kB / 333.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.0986, allocations: 0 / 333.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.09862, allocations: 4.125 kB / 333.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.102e-05/0.09868, allocations: 4 kB / 333.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.09869, allocations: 320 / 333.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.051e-05/0.09873, allocations: 0 / 333.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.09876, allocations: 3.984 kB / 333.8 MB, free: 14.37 MB / 286.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.396e-05/0.09885, allocations: 193 kB / 334 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.09892, allocations: 108.8 kB / 334.1 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.09897, allocations: 116.3 kB / 334.2 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-05/0.09903, allocations: 188.2 kB / 334.4 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-05/0.09908, allocations: 176.3 kB / 334.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.196e-05/0.09914, allocations: 180.3 kB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.09936, allocations: 413.1 kB / 335.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/0.0994, allocations: 105 kB / 335.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.09945, allocations: 113 kB / 335.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.476e-05/0.0995, allocations: 176.3 kB / 335.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/0.09955, allocations: 176.3 kB / 335.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.278e-05/0.09961, allocations: 188.2 kB / 335.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.331e-05/0.09967, allocations: 184.2 kB / 336 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.0998, allocations: 311.6 kB / 336.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.09987, allocations: 182.1 kB / 336.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/0.09995, allocations: 188.2 kB / 336.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.1, allocations: 101 kB / 336.8 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.1001, allocations: 180.2 kB / 337 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.1001, allocations: 109 kB / 337.1 MB, free: 10.83 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.184e-05/0.1002, allocations: 95.27 kB / 337.2 MB, free: 10.74 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1002, allocations: 0 / 337.2 MB, free: 10.74 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.1005, allocations: 36 kB / 337.2 MB, free: 10.7 MB / 286.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.0005117/0.101, allocations: 275.9 kB / 337.5 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.1011, allocations: 11.94 kB / 337.5 MB, free: 10.42 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1011, allocations: 0 / 337.5 MB, free: 10.42 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.1011, allocations: 0 / 337.5 MB, free: 10.42 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1015, allocations: 463.7 kB / 337.9 MB, free: 9.961 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.1017, allocations: 198 kB / 338.1 MB, free: 9.734 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.1019, allocations: 0.6768 MB / 338.8 MB, free: 9.031 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.1019, allocations: 7.438 kB / 338.8 MB, free: 9.023 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1019, allocations: 0 / 338.8 MB, free: 9.023 MB / 286.1 MB Notification: Performance of Templates: time 0.002479/0.1044, allocations: 1.128 MB / 340 MB, free: 7.891 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches