Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008285/0.0008285, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00323/0.00323, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8259/0.8259, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.088e-05, allocations: 3.266 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001244/0.001265, allocations: 0.4978 MB / 326.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.002546, allocations: 1.411 MB / 327.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.002567, allocations: 4 kB / 327.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.002584, allocations: 3.938 kB / 327.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.411e-05/0.002608, allocations: 3.938 kB / 327.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.003096, allocations: 182.8 kB / 327.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.902e-05/0.003145, allocations: 19.92 kB / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.003184, allocations: 0 / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.003234, allocations: 11.92 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.196e-05/0.003286, allocations: 11.98 kB / 327.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.003299, allocations: 0 / 327.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.003487, allocations: 163.7 kB / 328.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.003498, allocations: 0 / 328.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.003513, allocations: 4 kB / 328.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.003704, allocations: 155.7 kB / 328.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003706, allocations: 0 / 328.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003707, allocations: 0 / 328.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.656e-06/0.00371, allocations: 0 / 328.2 MB, free: 12.9 MB / 298.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.0002685/0.003979, allocations: 286 kB / 328.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.004013, allocations: 15.98 kB / 328.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.004123, allocations: 0.9375 kB / 328.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.958e-05/0.004193, allocations: 109.7 kB / 328.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.004202, allocations: 384 / 328.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.004208, allocations: 384 / 328.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.108e-05/0.0043, allocations: 63.95 kB / 328.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.004307, allocations: 7.938 kB / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.004316, allocations: 0 / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.004321, allocations: 0 / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.779e-05/0.004339, allocations: 4 kB / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.00463, allocations: 343.7 kB / 329 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.81e-05/0.004688, allocations: 173.1 kB / 329.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.004712, allocations: 84.08 kB / 329.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.004729, allocations: 75.28 kB / 329.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.004765, allocations: 113.8 kB / 329.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.004766, allocations: 0 / 329.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.808e-05/0.004824, allocations: 33.66 kB / 329.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.004877, allocations: 160.3 kB / 329.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.004964, allocations: 109.8 kB / 329.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.004976, allocations: 25.7 kB / 329.8 MB, free: 11.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.005016, allocations: 80.14 kB / 329.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.005018, allocations: 4 kB / 329.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.005045, allocations: 17.72 kB / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.005115, allocations: 314.8 kB / 330.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-06/0.005123, allocations: 0 / 330.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.005141, allocations: 29.7 kB / 330.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.156e-05/0.005163, allocations: 16.95 kB / 330.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005165, allocations: 0 / 330.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.422e-05/0.005249, allocations: 49.47 kB / 330.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.00526, allocations: 7.984 kB / 330.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.005264, allocations: 0 / 330.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.005275, allocations: 0 / 330.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.322e-05/0.005318, allocations: 4 kB / 330.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.005322, allocations: 3.938 kB / 330.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.005344, allocations: 0 / 330.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.005353, allocations: 7.984 kB / 330.3 MB, free: 10.61 MB / 298.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 6.315e-05/0.005416, allocations: 185.2 kB / 330.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.005453, allocations: 112.9 kB / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.00549, allocations: 116.2 kB / 330.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.669e-05/0.005527, allocations: 180.3 kB / 330.9 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-05/0.005564, allocations: 176.3 kB / 331.1 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-05/0.005601, allocations: 180.2 kB / 331.2 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.005726, allocations: 361 kB / 331.6 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/0.005751, allocations: 113 kB / 331.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.005774, allocations: 101 kB / 331.8 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-05/0.005811, allocations: 180.2 kB / 332 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.005855, allocations: 192.2 kB / 332.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-05/0.005891, allocations: 180.3 kB / 332.3 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.718e-05/0.005928, allocations: 180.5 kB / 332.5 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.253e-05/0.006011, allocations: 307.8 kB / 332.8 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.006038, allocations: 104.9 kB / 332.9 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.006324, allocations: 188.3 kB / 333.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.006376, allocations: 104.9 kB / 333.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.006414, allocations: 176.3 kB / 333.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.006442, allocations: 112.9 kB / 333.5 MB, free: 7.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.366e-05/0.006476, allocations: 83.28 kB / 333.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006476, allocations: 4 kB / 333.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.006655, allocations: 47.86 kB / 333.6 MB, free: 7.109 MB / 298.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.0002586/0.006914, allocations: 248.2 kB / 333.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.497e-05/0.006989, allocations: 0 / 333.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.006992, allocations: 8 kB / 333.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.006993, allocations: 0 / 333.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.007213, allocations: 451.7 kB / 334.3 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001588/0.007372, allocations: 209.7 kB / 334.5 MB, free: 6.172 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.247e-05/0.007405, allocations: 59.34 kB / 334.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.007421, allocations: 8.5 kB / 334.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of SimCode: time 4.5e-07/0.007422, allocations: 0 / 334.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of Templates: time 0.001648/0.00907, allocations: 1.026 MB / 335.6 MB, free: 5.059 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.012049869634211]