Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001499/0.001499, allocations: 115.5 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001706/0.001706, allocations: 210.3 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.375/1.375, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 71.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.243, allocations: 53.31 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001606/0.2446, allocations: 0.5122 MB / 432.5 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.2465, allocations: 1.458 MB / 434 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.2466, allocations: 0 / 434 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.2466, allocations: 0 / 434 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.2466, allocations: 0 / 434 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.2472, allocations: 189.4 kB / 434.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.769e-05/0.2473, allocations: 19.86 kB / 434.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.2473, allocations: 3.984 kB / 434.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.333e-05/0.2474, allocations: 12 kB / 434.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.2474, allocations: 4 kB / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.2474, allocations: 0 / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.2477, allocations: 175.7 kB / 434.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.2477, allocations: 15.92 kB / 434.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.2478, allocations: 0 / 434.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.248, allocations: 125.7 kB / 434.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.248, allocations: 4 kB / 434.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.248, allocations: 0 / 434.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.248, allocations: 0 / 434.5 MB, free: 4.887 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.0004075/0.2484, allocations: 355.2 kB / 434.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.2484, allocations: 8.031 kB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.2486, allocations: 8.922 kB / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.2487, allocations: 160.4 kB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.2487, allocations: 384 / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.2487, allocations: 8.125 kB / 435.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.649e-05/0.2488, allocations: 37.69 kB / 435.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2488, allocations: 3.938 kB / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2488, allocations: 7.922 kB / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2488, allocations: 0 / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.2489, allocations: 0 / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.2493, allocations: 473 kB / 435.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/0.2494, allocations: 173.2 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.2495, allocations: 80.14 kB / 435.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.2495, allocations: 83.2 kB / 435.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/0.2495, allocations: 105.8 kB / 436 MB, free: 3.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2496, allocations: 0 / 436 MB, free: 3.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.668e-05/0.2496, allocations: 37.66 kB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/0.2497, allocations: 156.4 kB / 436.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2498, allocations: 105.8 kB / 436.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.2499, allocations: 25.7 kB / 436.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.2499, allocations: 88.14 kB / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.2499, allocations: 0 / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.25, allocations: 13.72 kB / 436.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2501, allocations: 318.8 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.2501, allocations: 4 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/0.2501, allocations: 11.94 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.294e-05/0.2502, allocations: 8.859 kB / 436.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2502, allocations: 0 / 436.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001126/0.2503, allocations: 41.89 kB / 436.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2503, allocations: 4 kB / 436.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.2503, allocations: 0 / 436.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.2503, allocations: 4 kB / 436.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.83e-05/0.2504, allocations: 4 kB / 436.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2504, allocations: 128 / 436.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.2504, allocations: 7.938 kB / 436.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.2504, allocations: 4 kB / 436.8 MB, free: 2.344 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.000116/0.2505, allocations: 193 kB / 437 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.2506, allocations: 105 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.029e-05/0.2507, allocations: 108.5 kB / 437.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.859e-05/0.2507, allocations: 180.2 kB / 437.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.279e-05/0.2508, allocations: 180.3 kB / 437.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.567e-05/0.2509, allocations: 180.3 kB / 437.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.2511, allocations: 413.1 kB / 438.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-05/0.2512, allocations: 108.9 kB / 438.3 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.2512, allocations: 104.9 kB / 438.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.45e-05/0.2513, allocations: 184.3 kB / 438.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/0.2514, allocations: 180.2 kB / 438.7 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.669e-05/0.2515, allocations: 180.5 kB / 438.9 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.401e-05/0.2516, allocations: 180.3 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.2517, allocations: 319.7 kB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/0.2518, allocations: 182 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.481e-05/0.2519, allocations: 180.3 kB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.252, allocations: 105 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.2521, allocations: 180.2 kB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.2522, allocations: 105 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.797e-05/0.2522, allocations: 91.28 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2522, allocations: 0 / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.2525, allocations: 43.86 kB / 440.2 MB, free: 14.69 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.0004328/0.253, allocations: 258.1 kB / 440.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.171e-05/0.253, allocations: 15.94 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.253, allocations: 0 / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.253, allocations: 0 / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.2534, allocations: 451.7 kB / 441 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.2537, allocations: 194 kB / 441.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.2539, allocations: 0.6768 MB / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.254, allocations: 7.438 kB / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.254, allocations: 0 / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Templates: time 0.002691/0.2567, allocations: 1.016 MB / 442.8 MB, free: 12.04 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.468959343153983]