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.0008877/0.0008877, allocations: 80.8 kB / 21.5 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.0009061/0.0009061, allocations: 168.2 kB / 24.91 MB, free: 8.688 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.8999/0.8999, 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.593e-06/1.593e-06, allocations: 0 / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.037e-05, allocations: 5.125 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001406/0.001427, allocations: 0.5602 MB / 274 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.002898, allocations: 1.455 MB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.002916, allocations: 0 / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.126e-05/0.002928, allocations: 0 / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.566e-05/0.002953, allocations: 3.938 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.003334, allocations: 167.4 kB / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.015e-05/0.003374, allocations: 15.98 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.049e-05/0.003404, allocations: 4 kB / 275.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/0.003446, allocations: 4 kB / 275.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.003493, allocations: 15.91 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.003506, allocations: 4 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.003717, allocations: 187.6 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.003726, allocations: 0 / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.064e-05/0.003737, allocations: 0 / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.0039, allocations: 163.6 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003902, allocations: 0 / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003902, allocations: 0 / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.003905, allocations: 0 / 276 MB, free: 14.7 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.000198/0.004103, allocations: 252.7 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.578e-05/0.004129, allocations: 8.031 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.999e-05/0.004219, allocations: 4.938 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.493e-05/0.004284, allocations: 105.8 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.004293, allocations: 4.375 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.0043, allocations: 4.375 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.091e-05/0.004371, allocations: 59.95 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004378, allocations: 3.938 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.004383, allocations: 0 / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.004387, allocations: 4 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-06/0.004396, allocations: 3.938 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.004655, allocations: 320 kB / 276.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.004701, allocations: 165.1 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.004718, allocations: 84.17 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.004737, allocations: 75.28 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.004772, allocations: 117.8 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.004772, allocations: 4 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.603e-05/0.004818, allocations: 37.58 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.004859, allocations: 152.4 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.613e-05/0.004915, allocations: 110.7 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.004927, allocations: 25.7 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.00496, allocations: 88.09 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-06/0.004961, allocations: 0 / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.004983, allocations: 13.72 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.265e-05/0.005046, allocations: 314.8 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.371e-06/0.005051, allocations: 8 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.562e-05/0.005067, allocations: 29.7 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.79e-05/0.005085, allocations: 12.8 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.005086, allocations: 0 / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.088e-05/0.005137, allocations: 37.62 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.005147, allocations: 8 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.005151, allocations: 0 / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.00516, allocations: 0 / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.652e-05/0.005187, allocations: 4 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-06/0.005189, allocations: 0 / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.005206, allocations: 0 / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.005211, allocations: 4.125 kB / 278.1 MB, free: 12.5 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.632e-05/0.005267, allocations: 189.1 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.005304, allocations: 112.9 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.005333, allocations: 112.5 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/0.005366, allocations: 180.3 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.354e-05/0.0054, allocations: 180.2 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.422e-05/0.005434, allocations: 184.3 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.005547, allocations: 321.6 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/0.005569, allocations: 105 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.005591, allocations: 101 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.604e-05/0.005627, allocations: 188.2 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.005669, allocations: 180.2 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.581e-05/0.005705, allocations: 188.1 kB / 280.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.411e-05/0.005739, allocations: 180.3 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.793e-05/0.005817, allocations: 303.8 kB / 280.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.005844, allocations: 113 kB / 280.6 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.005886, allocations: 180.2 kB / 280.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.72e-05/0.005933, allocations: 108.9 kB / 280.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.005972, allocations: 188.2 kB / 281.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.005994, allocations: 105 kB / 281.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.31e-05/0.006007, allocations: 12.86 kB / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006008, allocations: 4 kB / 281.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.006155, allocations: 39.88 kB / 281.3 MB, free: 9.121 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.0002481/0.006404, allocations: 236.1 kB / 281.5 MB, free: 8.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.182e-05/0.006445, allocations: 8.859 kB / 281.5 MB, free: 8.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.006449, allocations: 0 / 281.5 MB, free: 8.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.00645, allocations: 3.938 kB / 281.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.006635, allocations: 467.7 kB / 282 MB, free: 8.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001362/0.006771, allocations: 176.2 kB / 282.1 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.508e-05/0.006796, allocations: 55.36 kB / 282.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.623e-05/0.006832, allocations: 7.984 kB / 282.2 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.006879, allocations: 63.34 kB / 282.3 MB, free: 8.07 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.006879, allocations: 0 / 282.3 MB, free: 8.07 MB / 266.7 MB Notification: Performance of Templates: time 0.002267/0.009146, allocations: 1.156 MB / 283.4 MB, free: 6.926 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 -s gbode -gbm=radauIIA3 -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.329647338949144]