Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009666/0.0009666, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9482/0.9482, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 273.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.915e-05, allocations: 2.312 kB / 273.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001766/0.001785, allocations: 0.5195 MB / 273.9 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.003653, allocations: 1.455 MB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.003675, allocations: 3.938 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.00369, allocations: 3.938 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.992e-05/0.00372, allocations: 4 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.00432, allocations: 175.5 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.004368, allocations: 11.94 kB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.004402, allocations: 7.984 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.9e-05/0.004461, allocations: 19.92 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.004515, allocations: 7.984 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.004528, allocations: 0 / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.004787, allocations: 155.7 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.004804, allocations: 11.98 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.004819, allocations: 3.984 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.005039, allocations: 155.6 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.005042, allocations: 4 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005043, allocations: 0 / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.005045, allocations: 0 / 275.9 MB, free: 14.79 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.0002486/0.005294, allocations: 252.7 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.005325, allocations: 8.031 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.005434, allocations: 4.938 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.037e-05/0.005514, allocations: 105.8 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.005524, allocations: 384 / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.005537, allocations: 4.375 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.834e-05/0.005615, allocations: 63.89 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.005624, allocations: 3.938 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.005631, allocations: 0 / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.005636, allocations: 0 / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.248e-05/0.005649, allocations: 12 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.005981, allocations: 320 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.15e-05/0.006042, allocations: 165.1 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.006068, allocations: 88.06 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.006087, allocations: 79.28 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.006126, allocations: 109.8 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.006127, allocations: 0 / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.744e-05/0.006185, allocations: 33.69 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.006252, allocations: 156.4 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.006327, allocations: 110.7 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.006338, allocations: 29.7 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.00638, allocations: 88.09 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.006382, allocations: 0 / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.006413, allocations: 13.72 kB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.006495, allocations: 318.8 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-06/0.006504, allocations: 7.938 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.017e-05/0.006524, allocations: 25.7 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.118e-05/0.006545, allocations: 12.8 kB / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006547, allocations: 0 / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.346e-05/0.00662, allocations: 37.73 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.006631, allocations: 4 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.006635, allocations: 7.984 kB / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.006646, allocations: 0 / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.025e-05/0.006676, allocations: 0 / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.006679, allocations: 0 / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.006707, allocations: 11.94 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.006714, allocations: 0 / 278 MB, free: 12.59 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 6.934e-05/0.006784, allocations: 181.1 kB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.006836, allocations: 109 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.006875, allocations: 116.5 kB / 278.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.745e-05/0.006923, allocations: 184.2 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-05/0.006968, allocations: 176.3 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.665e-05/0.007015, allocations: 184.2 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.007184, allocations: 321.4 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/0.007211, allocations: 105 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.007239, allocations: 104.9 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.662e-05/0.007286, allocations: 180.2 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/0.007336, allocations: 184.5 kB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-05/0.007384, allocations: 184.2 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-05/0.007432, allocations: 184.2 kB / 280.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.007541, allocations: 307.8 kB / 280.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.007575, allocations: 108.9 kB / 280.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/0.007631, allocations: 180.3 kB / 280.7 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.00771, allocations: 108.9 kB / 280.8 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/0.007994, allocations: 180.3 kB / 281 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.008023, allocations: 101 kB / 281.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.205e-05/0.008045, allocations: 16.84 kB / 281.1 MB, free: 9.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008045, allocations: 0 / 281.1 MB, free: 9.266 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002623/0.008308, allocations: 39.88 kB / 281.2 MB, free: 9.227 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.0003509/0.008659, allocations: 248.1 kB / 281.4 MB, free: 8.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.517e-05/0.008714, allocations: 12.84 kB / 281.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.008718, allocations: 0 / 281.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.008719, allocations: 0 / 281.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.008961, allocations: 459.6 kB / 281.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001625/0.009123, allocations: 176.2 kB / 282 MB, free: 8.316 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.473e-05/0.009158, allocations: 59.34 kB / 282.1 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.922e-05/0.009207, allocations: 16.03 kB / 282.1 MB, free: 8.223 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.009269, allocations: 59.36 kB / 282.2 MB, free: 8.164 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.00927, allocations: 0 / 282.2 MB, free: 8.164 MB / 266.7 MB Notification: Performance of Templates: time 0.003152/0.01242, allocations: 1.145 MB / 283.3 MB, free: 7.027 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6545154131017625]