Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001637/0.001637, allocations: 181.8 kB / 8.147 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.2 MB / 213.7 MB, free: 1.879 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 83.39 kB / 261.8 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.092e-05/1.103e-05, allocations: 0 / 314.3 MB, free: 23.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 47.58 MB / 361.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3529/0.4556, allocations: 76.02 MB / 437.9 MB, free: 3.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.4559, allocations: 77.12 kB / 437.9 MB, free: 3.621 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02549/0.4814, allocations: 4.886 MB / 442.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.4815, allocations: 0 / 442.8 MB, free: 15.57 MB / 330.7 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.0004207/0.4819, allocations: 354.1 kB / 443.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.482, allocations: 8.031 kB / 443.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.4821, allocations: 7.906 kB / 443.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.4822, allocations: 167 kB / 443.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4822, allocations: 0 / 443.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.4823, allocations: 4 kB / 443.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.272e-05/0.4823, allocations: 11.78 kB / 443.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.651e-05/0.4824, allocations: 29.7 kB / 443.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4825, allocations: 0 / 443.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.4825, allocations: 11.98 kB / 443.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4825, allocations: 0 / 443.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.483, allocations: 366.8 kB / 443.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.4831, allocations: 176.1 kB / 443.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.4832, allocations: 84.08 kB / 444 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.4832, allocations: 80.12 kB / 444.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.854e-05/0.4833, allocations: 105.8 kB / 444.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.4833, allocations: 0 / 444.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 9.139e-05/0.4834, allocations: 33.69 kB / 444.2 MB, free: 14.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.4835, allocations: 77.11 kB / 444.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.4836, allocations: 99.44 kB / 444.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.4836, allocations: 29.7 kB / 444.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.4837, allocations: 161.7 kB / 444.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.4837, allocations: 0 / 444.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.4837, allocations: 3.938 kB / 444.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4839, allocations: 314.8 kB / 444.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.4839, allocations: 4 kB / 444.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.39e-05/0.484, allocations: 7.312 kB / 444.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.4841, allocations: 11.98 kB / 444.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4841, allocations: 0 / 444.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001945/0.4843, allocations: 45.78 kB / 445 MB, free: 13.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4843, allocations: 4 kB / 445 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4844, allocations: 0 / 445 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4844, allocations: 4 kB / 445 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.724e-05/0.4844, allocations: 4 kB / 445 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.4845, allocations: 3.906 kB / 445 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.4845, allocations: 0 / 445 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.4846, allocations: 7.984 kB / 445 MB, free: 13.21 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.297e-05/0.4847, allocations: 101.8 kB / 445.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/0.4848, allocations: 116.9 kB / 445.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.4848, allocations: 112.1 kB / 445.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-05/0.4849, allocations: 176.3 kB / 445.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.684e-05/0.485, allocations: 188.2 kB / 445.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.06e-05/0.4851, allocations: 184.2 kB / 445.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.4854, allocations: 392.2 kB / 446.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.605e-05/0.4854, allocations: 104.9 kB / 446.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.4855, allocations: 101 kB / 446.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-05/0.4856, allocations: 176.3 kB / 446.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.706e-05/0.4857, allocations: 184.2 kB / 446.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.026e-05/0.4858, allocations: 187.7 kB / 447 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.941e-05/0.4858, allocations: 180.3 kB / 447.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001907/0.486, allocations: 303.7 kB / 447.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.4862, allocations: 189.1 kB / 447.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.4863, allocations: 184.2 kB / 447.8 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.4865, allocations: 101 kB / 447.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.4866, allocations: 180.3 kB / 448.1 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.4866, allocations: 108.9 kB / 448.2 MB, free: 9.824 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.854e-05/0.4867, allocations: 93.95 kB / 448.3 MB, free: 9.738 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004809/0.4872, allocations: 47.94 kB / 448.3 MB, free: 9.691 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006565/0.4879, allocations: 268.2 kB / 448.6 MB, free: 9.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.59e-05/0.488, allocations: 4 kB / 448.6 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.488, allocations: 0 / 448.6 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.29e-06/0.488, allocations: 4 kB / 448.6 MB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.4884, allocations: 0.5224 MB / 449.1 MB, free: 8.895 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.4887, allocations: 156.1 kB / 449.3 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.489, allocations: 0.6919 MB / 450 MB, free: 7.996 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.489, allocations: 0 / 450 MB, free: 7.996 MB / 330.7 MB Notification: Performance of Templates: time 0.004186/0.4932, allocations: 1.19 MB / 451.2 MB, free: 6.805 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches