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.001427/0.001427, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001537/0.001537, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.002013/0.002013, allocations: 68.77 kB / 379 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2548, allocations: 53.37 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001653/0.2564, allocations: 0.5083 MB / 432.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.2584, allocations: 1.462 MB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.2584, allocations: 0 / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.2584, allocations: 0 / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.49e-05/0.2585, allocations: 3.938 kB / 434.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.2591, allocations: 182.7 kB / 434.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.582e-05/0.2592, allocations: 19.92 kB / 434.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.2592, allocations: 3.938 kB / 434.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.311e-05/0.2593, allocations: 11.94 kB / 434.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.2593, allocations: 11.97 kB / 434.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.2593, allocations: 0 / 434.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.2596, allocations: 182.5 kB / 434.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.2596, allocations: 4 kB / 434.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.2597, allocations: 3.938 kB / 434.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.2599, allocations: 121.4 kB / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2599, allocations: 0 / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2599, allocations: 0 / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.2599, allocations: 0 / 434.9 MB, free: 4.469 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.0003663/0.2603, allocations: 282.1 kB / 435.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2603, allocations: 12.03 kB / 435.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.2605, allocations: 0.9375 kB / 435.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.2606, allocations: 118.5 kB / 435.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.2606, allocations: 384 / 435.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.2606, allocations: 8.125 kB / 435.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.97e-05/0.2607, allocations: 37.62 kB / 435.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2607, allocations: 0 / 435.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2607, allocations: 0 / 435.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2607, allocations: 0 / 435.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.2607, allocations: 4 kB / 435.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.2612, allocations: 375 kB / 435.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.556e-05/0.2613, allocations: 173.1 kB / 435.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.2613, allocations: 80.14 kB / 436 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.2614, allocations: 75.28 kB / 436 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.064e-05/0.2614, allocations: 109.8 kB / 436.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2614, allocations: 3.938 kB / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.858e-05/0.2615, allocations: 29.66 kB / 436.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.252e-05/0.2616, allocations: 156.4 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.2617, allocations: 109.8 kB / 436.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.2617, allocations: 25.7 kB / 436.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.2618, allocations: 88.08 kB / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.2618, allocations: 0 / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.2618, allocations: 25.7 kB / 436.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.262, allocations: 314.8 kB / 436.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.262, allocations: 0 / 436.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.262, allocations: 4 kB / 436.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.262, allocations: 8.859 kB / 436.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.262, allocations: 0 / 436.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001184/0.2621, allocations: 45.64 kB / 436.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2621, allocations: 4.125 kB / 436.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2621, allocations: 7.938 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2622, allocations: 0 / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.2622, allocations: 7.938 kB / 437 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.2622, allocations: 0 / 437 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.2623, allocations: 0 / 437 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.2623, allocations: 0 / 437 MB, free: 2.211 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.000119/0.2624, allocations: 193 kB / 437.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.2625, allocations: 101 kB / 437.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.2625, allocations: 116.5 kB / 437.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.996e-05/0.2626, allocations: 180.2 kB / 437.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.9e-05/0.2627, allocations: 176.3 kB / 437.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.925e-05/0.2628, allocations: 188.2 kB / 437.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.263, allocations: 376.2 kB / 438.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.654e-05/0.2631, allocations: 109 kB / 438.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.2631, allocations: 104.9 kB / 438.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-05/0.2632, allocations: 176.3 kB / 438.6 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/0.2633, allocations: 184.5 kB / 438.8 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.448e-05/0.2634, allocations: 188.4 kB / 439 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.694e-05/0.2635, allocations: 188.2 kB / 439.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.2636, allocations: 307.8 kB / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.2637, allocations: 104.9 kB / 439.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.2638, allocations: 188.2 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2639, allocations: 104.9 kB / 439.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.264, allocations: 180.3 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.264, allocations: 105 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.736e-05/0.2641, allocations: 87.27 kB / 440.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2641, allocations: 0 / 440.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.2644, allocations: 43.88 kB / 440.3 MB, free: 14.68 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.0004246/0.2648, allocations: 255.4 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.032e-05/0.2649, allocations: 4 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2649, allocations: 0 / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-06/0.2649, allocations: 8 kB / 440.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.2653, allocations: 455.7 kB / 441 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.2655, allocations: 164.4 kB / 441.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.2658, allocations: 0.6768 MB / 441.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.2659, allocations: 11.98 kB / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.2659, allocations: 7.438 kB / 441.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2659, allocations: 0 / 441.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of Templates: time 0.003682/0.2696, allocations: 0.964 MB / 442.8 MB, free: 12.1 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/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-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: 4.278389057144523]