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.001327/0.001327, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 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.001362/0.001362, allocations: 156.9 kB / 24.48 MB, free: 3.465 MB / 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.384/1.384, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] 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.001579/0.001579, allocations: 46.33 kB / 319.4 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08788/0.08946, allocations: 52.16 MB / 371.5 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001682/0.09114, allocations: 0.5102 MB / 372.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.09288, allocations: 1.341 MB / 373.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.0929, allocations: 0 / 373.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.09292, allocations: 3.938 kB / 373.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.085e-05/0.09295, allocations: 0 / 373.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.09358, allocations: 187 kB / 373.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.807e-05/0.09363, allocations: 12 kB / 373.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.09367, allocations: 3.984 kB / 373.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.669e-05/0.0937, allocations: 8 kB / 373.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.09376, allocations: 15.91 kB / 373.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.09377, allocations: 0 / 373.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.09402, allocations: 147.8 kB / 373.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.09404, allocations: 8 kB / 373.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.09406, allocations: 7.922 kB / 373.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.09426, allocations: 115.8 kB / 373.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09427, allocations: 4 kB / 373.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09427, allocations: 0 / 373.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.09427, allocations: 0 / 373.9 MB, free: 5.023 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.000323/0.09459, allocations: 282 kB / 374.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.09462, allocations: 8.922 kB / 374.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.09466, allocations: 4.891 kB / 374.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.979e-05/0.09476, allocations: 110.5 kB / 374.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.09477, allocations: 384 / 374.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.09478, allocations: 4.125 kB / 374.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.09489, allocations: 55.41 kB / 374.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.09489, allocations: 8 kB / 374.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.0949, allocations: 0 / 374.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.09491, allocations: 0 / 374.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.09493, allocations: 7.984 kB / 374.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.09529, allocations: 355.5 kB / 374.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.476e-05/0.09539, allocations: 165.1 kB / 374.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.09543, allocations: 80.14 kB / 375 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.09546, allocations: 83.22 kB / 375 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.09552, allocations: 109.8 kB / 375.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.09552, allocations: 0 / 375.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.938e-05/0.09559, allocations: 29.64 kB / 375.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/0.09567, allocations: 160.4 kB / 375.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.09577, allocations: 113.8 kB / 375.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.09579, allocations: 25.7 kB / 375.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.09585, allocations: 92.09 kB / 375.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.09585, allocations: 0 / 375.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.09588, allocations: 17.7 kB / 375.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.09601, allocations: 314.8 kB / 375.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.09602, allocations: 4 kB / 375.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-05/0.09605, allocations: 29.7 kB / 375.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.437e-05/0.09608, allocations: 12.95 kB / 375.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.09608, allocations: 0 / 375.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001078/0.09619, allocations: 41.62 kB / 376 MB, free: 2.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.0962, allocations: 4 kB / 376 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.0962, allocations: 4 kB / 376 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.09622, allocations: 0 / 376 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/0.09626, allocations: 3.938 kB / 376 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.09627, allocations: 3.984 kB / 376 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.09631, allocations: 0 / 376 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.09631, allocations: 4 kB / 376 MB, free: 2.738 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.0001133/0.09643, allocations: 201.1 kB / 376.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/0.0965, allocations: 104.9 kB / 376.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.09656, allocations: 108.4 kB / 376.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.012e-05/0.09663, allocations: 180.3 kB / 376.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-05/0.0967, allocations: 180.2 kB / 376.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.58e-05/0.09678, allocations: 180.2 kB / 376.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.097, allocations: 360.8 kB / 377.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.311e-05/0.09705, allocations: 104.9 kB / 377.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.0971, allocations: 105 kB / 377.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.628e-05/0.09717, allocations: 184.4 kB / 377.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/0.09725, allocations: 192.3 kB / 377.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.19e-05/0.09733, allocations: 176.3 kB / 378 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.275e-05/0.0974, allocations: 180.2 kB / 378.2 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.09755, allocations: 315.7 kB / 378.5 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.09761, allocations: 101 kB / 378.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.0977, allocations: 180.3 kB / 378.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.0978, allocations: 104.9 kB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.09788, allocations: 184.2 kB / 379.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.09793, allocations: 108.9 kB / 379.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.762e-05/0.09799, allocations: 95.47 kB / 379.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09799, allocations: 0 / 379.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.09826, allocations: 39.92 kB / 379.3 MB, free: 15.23 MB / 350.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.0004155/0.09867, allocations: 248.5 kB / 379.5 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.601e-05/0.09875, allocations: 8 kB / 379.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.09875, allocations: 0 / 379.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.548e-06/0.09876, allocations: 4 kB / 379.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.09914, allocations: 463.6 kB / 380 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.09934, allocations: 172.1 kB / 380.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.359e-05/0.0994, allocations: 59.34 kB / 380.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.201e-05/0.09948, allocations: 11.98 kB / 380.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.0995, allocations: 12.5 kB / 380.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.0995, allocations: 0 / 380.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Templates: time 0.003413/0.1029, allocations: 0.9311 MB / 381.2 MB, free: 13.31 MB / 350.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/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.028268152032979]