Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 55.91 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2546, allocations: 52.15 MB / 420.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001732/0.2563, allocations: 0.5119 MB / 421.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.2584, allocations: 1.399 MB / 422.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.2585, allocations: 4 kB / 422.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.2585, allocations: 0 / 422.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.045e-05/0.2585, allocations: 3.938 kB / 422.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.2592, allocations: 178.9 kB / 422.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.411e-05/0.2593, allocations: 19.91 kB / 423 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.2593, allocations: 8 kB / 423 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.72e-05/0.2593, allocations: 8 kB / 423 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.882e-05/0.2594, allocations: 11.92 kB / 423 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.2594, allocations: 0 / 423 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.2597, allocations: 163.8 kB / 423.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.2597, allocations: 3.984 kB / 423.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.2597, allocations: 15.92 kB / 423.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.2599, allocations: 109.3 kB / 423.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.26, allocations: 4 kB / 423.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.26, allocations: 0 / 423.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.26, allocations: 0 / 423.3 MB, free: 12.81 MB / 334.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.0004207/0.2604, allocations: 351.2 kB / 423.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.2604, allocations: 11.97 kB / 423.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.2604, allocations: 8.875 kB / 423.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.2606, allocations: 168.3 kB / 423.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.2606, allocations: 384 / 423.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2606, allocations: 4.125 kB / 423.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.2607, allocations: 41.64 kB / 423.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2607, allocations: 0 / 423.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.2607, allocations: 0 / 423.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2607, allocations: 3.984 kB / 423.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.326e-05/0.2608, allocations: 4 kB / 423.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.2612, allocations: 469 kB / 424.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.935e-05/0.2613, allocations: 169.1 kB / 424.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.2614, allocations: 88.08 kB / 424.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.2614, allocations: 75.28 kB / 424.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/0.2615, allocations: 113.8 kB / 424.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2615, allocations: 0 / 424.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.827e-05/0.2616, allocations: 29.73 kB / 424.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.373e-05/0.2617, allocations: 156.4 kB / 424.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.2618, allocations: 117.8 kB / 425.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.2618, allocations: 25.7 kB / 425.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.2619, allocations: 84.09 kB / 425.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.2619, allocations: 0 / 425.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.2619, allocations: 13.72 kB / 425.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2621, allocations: 326.8 kB / 425.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.2621, allocations: 3.938 kB / 425.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.2621, allocations: 8 kB / 425.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.372e-05/0.2622, allocations: 4.859 kB / 425.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2622, allocations: 0 / 425.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001025/0.2623, allocations: 33.7 kB / 425.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2623, allocations: 8 kB / 425.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2623, allocations: 3.984 kB / 425.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2623, allocations: 3.938 kB / 425.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.858e-05/0.2624, allocations: 0 / 425.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2624, allocations: 4.125 kB / 425.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.2624, allocations: 8 kB / 425.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.2624, allocations: 0 / 425.6 MB, free: 10.27 MB / 334.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 0.0001298/0.2625, allocations: 196.9 kB / 425.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.2626, allocations: 104.9 kB / 425.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.633e-05/0.2627, allocations: 108.5 kB / 426 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.302e-05/0.2628, allocations: 184.2 kB / 426.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.259e-05/0.2629, allocations: 184.3 kB / 426.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.137e-05/0.2629, allocations: 180.2 kB / 426.5 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.2632, allocations: 413.1 kB / 426.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.706e-05/0.2633, allocations: 101 kB / 427 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.2633, allocations: 108.9 kB / 427.1 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.724e-05/0.2634, allocations: 184.3 kB / 427.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/0.2635, allocations: 180.2 kB / 427.5 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.736e-05/0.2636, allocations: 176.3 kB / 427.6 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.721e-05/0.2636, allocations: 176.5 kB / 427.8 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.2638, allocations: 323.7 kB / 428.1 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.647e-05/0.2639, allocations: 186 kB / 428.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.129e-05/0.264, allocations: 180.2 kB / 428.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.2641, allocations: 113 kB / 428.6 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.2642, allocations: 180.2 kB / 428.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.2643, allocations: 101.2 kB / 428.9 MB, free: 6.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.939e-05/0.2643, allocations: 95.28 kB / 429 MB, free: 6.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2643, allocations: 0 / 429 MB, free: 6.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.2646, allocations: 35.92 kB / 429 MB, free: 6.605 MB / 334.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.0004411/0.265, allocations: 248 kB / 429.2 MB, free: 6.367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.41e-05/0.2651, allocations: 7.938 kB / 429.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2651, allocations: 0 / 429.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2651, allocations: 4 kB / 429.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.2656, allocations: 458.8 kB / 429.7 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.2659, allocations: 168.3 kB / 429.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.2663, allocations: 0.6845 MB / 430.6 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.2664, allocations: 11.98 kB / 430.6 MB, free: 4.992 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.2664, allocations: 7.438 kB / 430.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2664, allocations: 0 / 430.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of Templates: time 0.003482/0.2699, allocations: 0.9209 MB / 431.5 MB, free: 4.066 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.23129406478256]