Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001913/0.001913, allocations: 199.6 kB / 8.542 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009751/0.0009751, allocations: 88.75 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.028e-05/1.032e-05, allocations: 0 / 343.1 MB, free: 8.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1448, allocations: 51.49 MB / 394.6 MB, free: 5.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3896/0.5345, allocations: 76.2 MB / 470.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.5347, allocations: 68.42 kB / 470.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01422/0.5489, allocations: 4.898 MB / 475.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.549, allocations: 4.75 kB / 475.8 MB, free: 12.66 MB / 346.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.0003559/0.5494, allocations: 352.8 kB / 476.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.5494, allocations: 8.031 kB / 476.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.5496, allocations: 4 kB / 476.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.5497, allocations: 166.1 kB / 476.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.5497, allocations: 0 / 476.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.5498, allocations: 0 / 476.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.609e-05/0.5498, allocations: 7.062 kB / 476.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.807e-05/0.5499, allocations: 40.8 kB / 476.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.5499, allocations: 0 / 476.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.5499, allocations: 3.375 kB / 476.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.5499, allocations: 0 / 476.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.5504, allocations: 445.4 kB / 476.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.852e-05/0.5504, allocations: 172.6 kB / 477 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.5505, allocations: 87.58 kB / 477 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.5505, allocations: 75.28 kB / 477.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.5505, allocations: 109.8 kB / 477.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 2.004e-06/0.5505, allocations: 4 kB / 477.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 8.806e-05/0.5506, allocations: 29.64 kB / 477.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.5507, allocations: 81.05 kB / 477.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.5508, allocations: 102.4 kB / 477.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.5508, allocations: 29.7 kB / 477.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.5508, allocations: 88.05 kB / 477.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.5509, allocations: 0 / 477.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.5509, allocations: 0 / 477.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.5509, allocations: 314 kB / 477.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.5509, allocations: 0 / 477.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.413e-05/0.551, allocations: 4 kB / 477.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.871e-05/0.5511, allocations: 7.562 kB / 477.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.5511, allocations: 4.094 kB / 477.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001518/0.5512, allocations: 37.12 kB / 477.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.5512, allocations: 8 kB / 477.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5513, allocations: 1.188 kB / 477.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.5513, allocations: 0 / 477.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.586e-05/0.5513, allocations: 0 / 477.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.5513, allocations: 3.906 kB / 477.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.5514, allocations: 4 kB / 477.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.5514, allocations: 0 / 477.9 MB, free: 10.35 MB / 346.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 7.409e-05/0.5515, allocations: 187.5 kB / 478.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.5515, allocations: 108.6 kB / 478.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.5516, allocations: 108.4 kB / 478.3 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/0.5516, allocations: 176.3 kB / 478.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.123e-05/0.5517, allocations: 185.1 kB / 478.7 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.18e-05/0.5517, allocations: 179.9 kB / 478.8 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.5519, allocations: 397.1 kB / 479.2 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/0.5519, allocations: 101 kB / 479.3 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.5519, allocations: 101 kB / 479.4 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-05/0.552, allocations: 180.2 kB / 479.6 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.552, allocations: 184.7 kB / 479.8 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.648e-05/0.552, allocations: 187.7 kB / 480 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.588e-05/0.5521, allocations: 181.9 kB / 480.1 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.917e-05/0.5522, allocations: 299.7 kB / 480.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.5522, allocations: 191.3 kB / 480.6 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.5523, allocations: 184.2 kB / 480.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.5524, allocations: 110.5 kB / 480.9 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.5524, allocations: 180.2 kB / 481.1 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.5525, allocations: 104.5 kB / 481.2 MB, free: 6.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.616e-05/0.5525, allocations: 86.78 kB / 481.3 MB, free: 6.828 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003587/0.5529, allocations: 47.88 kB / 481.3 MB, free: 6.785 MB / 346.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.0005114/0.5534, allocations: 259.2 kB / 481.6 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.5535, allocations: 4.312 kB / 481.6 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5535, allocations: 0 / 481.6 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.35e-06/0.5536, allocations: 3.938 kB / 481.6 MB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.5538, allocations: 0.5236 MB / 482.1 MB, free: 6.016 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001909/0.554, allocations: 125.6 kB / 482.2 MB, free: 5.875 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.5543, allocations: 0.6835 MB / 482.9 MB, free: 21.17 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5543, allocations: 0 / 482.9 MB, free: 21.17 MB / 362.7 MB Notification: Performance of Templates: time 0.004143/0.5584, allocations: 0.9552 MB / 483.9 MB, free: 20.62 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches