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.0008168/0.0008168, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003248/0.003248, allocations: 161.4 kB / 24.7 MB, free: 8.895 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.8203/0.8203, allocations: 177.1 MB / 205 MB, free: 5.734 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.513e-06/1.513e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.26e-05, allocations: 4.812 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0009708/0.0009934, allocations: 0.5087 MB / 326.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.002469, allocations: 1.411 MB / 327.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.002491, allocations: 0 / 327.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.002507, allocations: 0 / 327.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.891e-05/0.002536, allocations: 3.938 kB / 327.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.003041, allocations: 190.5 kB / 327.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.553e-05/0.003096, allocations: 15.94 kB / 327.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.003142, allocations: 8 kB / 327.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.003203, allocations: 11.97 kB / 328 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.003261, allocations: 4 kB / 328 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.003278, allocations: 4 kB / 328 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.003473, allocations: 163.7 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.003487, allocations: 7.922 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.855e-05/0.003506, allocations: 7.984 kB / 328.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.003702, allocations: 147.7 kB / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003704, allocations: 0 / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.003705, allocations: 0 / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.003709, allocations: 4 kB / 328.3 MB, free: 12.96 MB / 298.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.0003152/0.004025, allocations: 281.2 kB / 328.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.004064, allocations: 8.031 kB / 328.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.004206, allocations: 8.922 kB / 328.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.073e-05/0.004286, allocations: 109.7 kB / 328.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.004302, allocations: 384 / 328.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.004312, allocations: 384 / 328.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.004443, allocations: 59.95 kB / 328.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.004453, allocations: 3.938 kB / 328.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.004465, allocations: 0 / 328.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.00447, allocations: 4 kB / 328.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.004491, allocations: 7.938 kB / 328.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.00484, allocations: 343.7 kB / 329.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.103e-05/0.004911, allocations: 173.1 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.004942, allocations: 84.08 kB / 329.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.004961, allocations: 75.28 kB / 329.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.005003, allocations: 109.8 kB / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.005004, allocations: 0 / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.594e-05/0.00507, allocations: 33.66 kB / 329.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.005146, allocations: 156.4 kB / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.005244, allocations: 113.9 kB / 329.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.005258, allocations: 25.7 kB / 329.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.005307, allocations: 84.12 kB / 329.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.00531, allocations: 0 / 329.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.005336, allocations: 17.72 kB / 329.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005828/0.005919, allocations: 314.8 kB / 330.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.005929, allocations: 0 / 330.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.005954, allocations: 33.69 kB / 330.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.482e-05/0.005979, allocations: 12.8 kB / 330.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.005981, allocations: 0 / 330.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.874e-05/0.00608, allocations: 49.69 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.006091, allocations: 4 kB / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.006096, allocations: 0 / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.006111, allocations: 0 / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.281e-05/0.006164, allocations: 4 kB / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.006169, allocations: 0 / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.006195, allocations: 256 / 330.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.006204, allocations: 3.984 kB / 330.4 MB, free: 10.69 MB / 298.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.89e-05/0.006273, allocations: 185.1 kB / 330.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.006309, allocations: 108.9 kB / 330.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.006348, allocations: 128.2 kB / 330.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.175e-05/0.00639, allocations: 184.2 kB / 331 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.433e-05/0.006434, allocations: 180.3 kB / 331.1 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.035e-05/0.006475, allocations: 176.3 kB / 331.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.006611, allocations: 364.9 kB / 331.7 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/0.006635, allocations: 105 kB / 331.8 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/0.00666, allocations: 108.9 kB / 331.9 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-05/0.006705, allocations: 180.2 kB / 332 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.006749, allocations: 176.3 kB / 332.2 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.345e-05/0.006792, allocations: 188.2 kB / 332.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-05/0.006833, allocations: 184.2 kB / 332.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.367e-05/0.006927, allocations: 299.8 kB / 332.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.006956, allocations: 108.9 kB / 333 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.00701, allocations: 188.2 kB / 333.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.007067, allocations: 105 kB / 333.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.007114, allocations: 188.1 kB / 333.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.007137, allocations: 101 kB / 333.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.675e-05/0.007174, allocations: 91.27 kB / 333.6 MB, free: 7.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007174, allocations: 0 / 333.6 MB, free: 7.227 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.007357, allocations: 39.88 kB / 333.7 MB, free: 7.188 MB / 298.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.0003112/0.007668, allocations: 245.7 kB / 333.9 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.15e-05/0.00774, allocations: 7.938 kB / 333.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.007742, allocations: 0 / 333.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.556e-06/0.007745, allocations: 4 kB / 333.9 MB, free: 6.934 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.007989, allocations: 462.6 kB / 334.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/0.00817, allocations: 194.4 kB / 334.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.807e-05/0.008208, allocations: 59.34 kB / 334.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.008224, allocations: 16.56 kB / 334.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008225, allocations: 3.938 kB / 334.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of Templates: time 0.001973/0.0102, allocations: 1.027 MB / 335.7 MB, free: 5.133 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.0923454109579325]