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.001991/0.001991, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.00237/0.00237, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.478/1.478, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.00195/0.00195, allocations: 67.84 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2512, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001593/0.2528, allocations: 0.5071 MB / 432.5 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.2547, allocations: 1.458 MB / 434 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.2547, allocations: 0 / 434 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.2548, allocations: 0 / 434 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.037e-05/0.2548, allocations: 3.938 kB / 434 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006195/0.2554, allocations: 182.7 kB / 434.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.303e-05/0.2555, allocations: 27.84 kB / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.2555, allocations: 0 / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/0.2556, allocations: 11.98 kB / 434.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.2556, allocations: 11.88 kB / 434.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.2556, allocations: 0 / 434.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.2559, allocations: 175.8 kB / 434.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.2559, allocations: 3.984 kB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.2559, allocations: 4 kB / 434.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.2562, allocations: 125.7 kB / 434.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2562, allocations: 4 kB / 434.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2562, allocations: 0 / 434.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.2562, allocations: 0 / 434.5 MB, free: 4.871 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.0003752/0.2565, allocations: 355.2 kB / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.2566, allocations: 8.031 kB / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.2567, allocations: 4.938 kB / 434.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.2568, allocations: 164.4 kB / 435.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.2568, allocations: 384 / 435.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.2568, allocations: 12.06 kB / 435.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.892e-05/0.2569, allocations: 41.64 kB / 435.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.2569, allocations: 0 / 435.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.2569, allocations: 0 / 435.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.257, allocations: 0 / 435.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.257, allocations: 0 / 435.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.2574, allocations: 473 kB / 435.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.2575, allocations: 177.1 kB / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.2575, allocations: 84.14 kB / 435.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.2576, allocations: 75.28 kB / 435.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/0.2576, allocations: 109.8 kB / 436 MB, free: 3.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2576, allocations: 0 / 436 MB, free: 3.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.488e-05/0.2577, allocations: 37.64 kB / 436 MB, free: 3.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.2578, allocations: 156.4 kB / 436.2 MB, free: 3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.2579, allocations: 105.9 kB / 436.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2579, allocations: 33.62 kB / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.258, allocations: 84.14 kB / 436.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.258, allocations: 0 / 436.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.258, allocations: 13.72 kB / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2582, allocations: 318.8 kB / 436.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.2582, allocations: 3.984 kB / 436.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.569e-05/0.2582, allocations: 8 kB / 436.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.377e-05/0.2582, allocations: 8.859 kB / 436.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2582, allocations: 0 / 436.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000112/0.2583, allocations: 37.66 kB / 436.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2583, allocations: 4 kB / 436.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.2583, allocations: 0 / 436.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.2584, allocations: 0 / 436.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.664e-05/0.2584, allocations: 15.86 kB / 436.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.2584, allocations: 4.125 kB / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.502e-05/0.2584, allocations: 4 kB / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.2585, allocations: 4 kB / 436.8 MB, free: 2.324 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.0001119/0.2586, allocations: 185.1 kB / 437 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/0.2586, allocations: 105 kB / 437.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.2587, allocations: 108.5 kB / 437.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.357e-05/0.2588, allocations: 180.2 kB / 437.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.044e-05/0.2589, allocations: 188.2 kB / 437.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.757e-05/0.2589, allocations: 184.2 kB / 437.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.2592, allocations: 405.2 kB / 438.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.635e-05/0.2592, allocations: 108.9 kB / 438.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.2593, allocations: 101 kB / 438.4 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.47e-05/0.2594, allocations: 184.2 kB / 438.5 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/0.2594, allocations: 180.2 kB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-05/0.2595, allocations: 180.5 kB / 438.9 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.06e-05/0.2596, allocations: 184.2 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.2598, allocations: 319.8 kB / 439.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/0.2598, allocations: 182 kB / 439.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.8e-05/0.2599, allocations: 180.5 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.26, allocations: 108.9 kB / 439.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.2601, allocations: 184.2 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.2602, allocations: 101 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.714e-05/0.2602, allocations: 91.28 kB / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2602, allocations: 0 / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.2605, allocations: 43.86 kB / 440.2 MB, free: 14.67 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.0004105/0.2609, allocations: 259.7 kB / 440.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.342e-05/0.261, allocations: 8 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.261, allocations: 0 / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.261, allocations: 0 / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.2614, allocations: 455.7 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000183/0.2615, allocations: 160.3 kB / 441.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.2619, allocations: 0.6768 MB / 441.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.293e-05/0.2619, 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.516e-05/0.262, allocations: 7.438 kB / 441.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.262, allocations: 3.938 kB / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Templates: time 0.003346/0.2653, allocations: 0.9683 MB / 442.8 MB, free: 12.09 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 -s cvode -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: 4.409992373082787]