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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 163.2 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9117/0.9117, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 273.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.172e-05, allocations: 5.266 kB / 273.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0008959/0.0009076, allocations: 0.5169 MB / 273.9 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.002164, allocations: 1.455 MB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.002182, allocations: 0 / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.068e-05/0.002193, allocations: 4 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.513e-05/0.002218, allocations: 0 / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.00265, allocations: 183.3 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.224e-05/0.002692, allocations: 15.98 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.933e-05/0.002721, allocations: 0 / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.002766, allocations: 11.94 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.002819, allocations: 15.97 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.002831, allocations: 0 / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.003018, allocations: 159.8 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.003029, allocations: 7.938 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.198e-05/0.003041, allocations: 3.938 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.003206, allocations: 147.7 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.003209, allocations: 4 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00321, allocations: 0 / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.003212, allocations: 0 / 275.9 MB, free: 14.57 MB / 266.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.0001997/0.003412, allocations: 252.7 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.003439, allocations: 11.98 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.714e-05/0.003526, allocations: 8.938 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.391e-05/0.00359, allocations: 113.7 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.003598, allocations: 384 / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.003606, allocations: 4.375 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.15e-05/0.003668, allocations: 55.97 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.003673, allocations: 3.938 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.00368, allocations: 0 / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.003683, allocations: 0 / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.548e-06/0.003692, allocations: 4 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.003954, allocations: 320 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.012e-05/0.004004, allocations: 181 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.004022, allocations: 80.14 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.004038, allocations: 79.28 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.00407, allocations: 117.8 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.004071, allocations: 0 / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.067e-05/0.004112, allocations: 33.62 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.004158, allocations: 156.4 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.004217, allocations: 110.7 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.004226, allocations: 25.7 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.004257, allocations: 88.09 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-06/0.004258, allocations: 4 kB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.004282, allocations: 17.7 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.004344, allocations: 314.8 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-06/0.004351, allocations: 4 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.575e-05/0.004366, allocations: 29.7 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.578e-05/0.004382, allocations: 8.859 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004384, allocations: 0 / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.968e-05/0.004433, allocations: 41.56 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.004442, allocations: 4 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.004446, allocations: 4.125 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.004455, allocations: 4 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.616e-05/0.004482, allocations: 0 / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.004484, allocations: 0 / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.004501, allocations: 0 / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.004507, allocations: 4 kB / 277.9 MB, free: 12.36 MB / 266.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 () * 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 5.73e-05/0.004564, allocations: 181.1 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.004599, allocations: 112.9 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.00463, allocations: 112.4 kB / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.105e-05/0.004671, allocations: 184.3 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.48e-05/0.004706, allocations: 184.2 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.809e-05/0.004744, allocations: 184.3 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.004857, allocations: 313.5 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-05/0.004881, allocations: 108.9 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.004902, allocations: 101 kB / 279.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.746e-05/0.004939, allocations: 184.2 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.004976, allocations: 180.3 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.956e-05/0.005015, allocations: 192.1 kB / 279.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.9e-05/0.005054, allocations: 180.2 kB / 280.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.092e-05/0.005135, allocations: 307.8 kB / 280.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.005161, allocations: 101 kB / 280.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.005203, allocations: 184.3 kB / 280.7 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.005252, allocations: 109.1 kB / 280.8 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.005292, allocations: 184.2 kB / 280.9 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.005315, allocations: 112.9 kB / 281.1 MB, free: 9.043 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.298e-05/0.005328, allocations: 8.859 kB / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005328, allocations: 0 / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001548/0.005483, allocations: 43.86 kB / 281.1 MB, free: 8.988 MB / 266.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 () * 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.0002633/0.005747, allocations: 240.8 kB / 281.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.225e-05/0.005789, allocations: 8.859 kB / 281.3 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.005792, allocations: 0 / 281.3 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.005793, allocations: 4 kB / 281.4 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.005968, allocations: 467.6 kB / 281.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001337/0.006102, allocations: 176.2 kB / 282 MB, free: 8.078 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.466e-05/0.006126, allocations: 51.36 kB / 282 MB, free: 8.008 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.006162, allocations: 11.98 kB / 282 MB, free: 7.996 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.00621, allocations: 63.41 kB / 282.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.00621, allocations: 0 / 282.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of Templates: time 0.002266/0.008477, allocations: 1.145 MB / 283.3 MB, free: 6.793 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.538244064897299]