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.001628/0.001628, allocations: 111.1 kB / 18.45 MB, free: 4.566 MB / 14.72 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.001926/0.001926, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001521/0.001521, allocations: 51.91 kB / 374.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1126, allocations: 53.32 MB / 427.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001634/0.1142, allocations: 0.5089 MB / 428 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.1162, allocations: 1.459 MB / 429.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.1163, allocations: 0 / 429.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.1163, allocations: 4 kB / 429.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.266e-05/0.1163, allocations: 3.938 kB / 429.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006671/0.117, allocations: 170.5 kB / 429.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.117, allocations: 27.91 kB / 429.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.353e-05/0.1171, allocations: 4 kB / 429.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.042e-05/0.1171, allocations: 4 kB / 429.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.1172, allocations: 11.92 kB / 429.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1172, allocations: 4 kB / 429.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.1175, allocations: 171.8 kB / 429.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.1175, allocations: 7.969 kB / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.1176, allocations: 7.938 kB / 429.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1178, allocations: 115.7 kB / 430 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1178, allocations: 3.938 kB / 430 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1178, allocations: 4 kB / 430 MB, free: 1.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1178, allocations: 0 / 430 MB, free: 1.785 MB / 350.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.0004238/0.1182, allocations: 351.3 kB / 430.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1183, allocations: 12.03 kB / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.1184, allocations: 4.938 kB / 430.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1185, allocations: 164.4 kB / 430.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1186, allocations: 384 / 430.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1186, allocations: 8.062 kB / 430.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1187, allocations: 37.69 kB / 430.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1187, allocations: 0 / 430.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1187, allocations: 0 / 430.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1187, allocations: 7.984 kB / 430.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.1187, allocations: 0 / 430.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.1192, allocations: 477 kB / 431 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.69e-05/0.1193, allocations: 177.1 kB / 431.2 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.1194, allocations: 80.14 kB / 431.3 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.1194, allocations: 79.28 kB / 431.3 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/0.1194, allocations: 105.8 kB / 431.4 MB, free: 132 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1194, allocations: 0 / 431.4 MB, free: 132 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.41e-05/0.1195, allocations: 29.66 kB / 431.5 MB, free: 96 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.1196, allocations: 156.3 kB / 431.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.1198, allocations: 121.8 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1198, allocations: 25.7 kB / 431.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.1198, allocations: 84.12 kB / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.1198, allocations: 0 / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.1199, allocations: 21.72 kB / 431.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.12, allocations: 318.7 kB / 432.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.12, allocations: 0 / 432.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.1201, allocations: 11.98 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.1201, allocations: 8.859 kB / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1201, allocations: 3.938 kB / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001218/0.1202, allocations: 41.66 kB / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1202, allocations: 4 kB / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1202, allocations: 3.938 kB / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1202, allocations: 0 / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.1203, allocations: 4 kB / 432.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1203, allocations: 0 / 432.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.728e-05/0.1203, allocations: 4.125 kB / 432.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1203, allocations: 3.984 kB / 432.3 MB, free: 15.23 MB / 366.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.0001164/0.1205, allocations: 189.1 kB / 432.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.735e-05/0.1205, allocations: 101 kB / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.422e-05/0.1206, allocations: 112.5 kB / 432.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.124e-05/0.1207, allocations: 180.3 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.82e-05/0.1208, allocations: 188.3 kB / 433 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-05/0.1208, allocations: 180.2 kB / 433.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.1211, allocations: 409.2 kB / 433.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-05/0.1211, allocations: 104.9 kB / 433.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.1212, allocations: 105 kB / 433.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.888e-05/0.1213, allocations: 176.3 kB / 434 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/0.1213, allocations: 192.2 kB / 434.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.387e-05/0.1214, allocations: 176.3 kB / 434.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.793e-05/0.1215, allocations: 188.2 kB / 434.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.1217, allocations: 299.8 kB / 434.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.399e-05/0.1217, allocations: 190 kB / 435 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/0.1218, allocations: 180.3 kB / 435.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1219, allocations: 108.9 kB / 435.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.122, allocations: 176.3 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.1221, allocations: 101 kB / 435.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.722e-05/0.1221, allocations: 99.45 kB / 435.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1221, allocations: 4 kB / 435.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.1224, allocations: 35.94 kB / 435.7 MB, free: 11.58 MB / 366.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.0004435/0.1229, allocations: 252 kB / 435.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.738e-05/0.123, allocations: 7.984 kB / 435.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.123, allocations: 0 / 435.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.123, allocations: 0 / 435.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1234, allocations: 463.8 kB / 436.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.1236, allocations: 178 kB / 436.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1239, allocations: 0.6806 MB / 437.2 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.1239, allocations: 7.438 kB / 437.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1239, allocations: 0 / 437.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of Templates: time 0.002929/0.1268, allocations: 1.01 MB / 438.3 MB, free: 8.941 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/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: 7.03627949001384]