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.001895/0.001895, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001976/0.001976, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.643/1.643, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.352e-06/1.352e-06, allocations: 0 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.566e-05, allocations: 2.312 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001542/0.001568, allocations: 0.5029 MB / 272.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.003697, allocations: 1.424 MB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.003718, allocations: 4 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.003743, allocations: 3.938 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.678e-05/0.00378, allocations: 3.938 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.00439, allocations: 175.5 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.206e-05/0.004442, allocations: 15.92 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.00448, allocations: 4 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.254e-05/0.004543, allocations: 15.94 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.004606, allocations: 11.97 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.004628, allocations: 4 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.004937, allocations: 151.8 kB / 274.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.004955, allocations: 7.938 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.004974, allocations: 4 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.005267, allocations: 151.6 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.005275, allocations: 4 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.005276, allocations: 0 / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.00528, allocations: 0 / 274.6 MB, free: 15.34 MB / 266.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.0004652/0.005745, allocations: 380 kB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.005785, allocations: 11.98 kB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.005927, allocations: 4.938 kB / 275 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.006054, allocations: 120.5 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.006064, allocations: 384 / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.006078, allocations: 4.359 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.006204, allocations: 63.89 kB / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.006216, allocations: 7.938 kB / 275.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.006228, allocations: 4 kB / 275.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.006231, allocations: 0 / 275.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.006255, allocations: 4 kB / 275.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.006762, allocations: 486.7 kB / 275.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.006933, allocations: 269.4 kB / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.78e-05/0.00702, allocations: 134.8 kB / 276.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.298e-05/0.007083, allocations: 123.2 kB / 276.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.028e-05/0.007174, allocations: 156.6 kB / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.007174, allocations: 0 / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 8.155e-05/0.007256, allocations: 29.66 kB / 276.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.007378, allocations: 196.3 kB / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.007533, allocations: 173.9 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.007553, allocations: 25.7 kB / 276.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.007641, allocations: 134.9 kB / 276.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.007643, allocations: 0 / 276.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.007692, allocations: 23.36 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002746/0.007966, allocations: 496.1 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.007982, allocations: 3.938 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.479e-05/0.008016, allocations: 29.7 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.008046, allocations: 11.69 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.008047, allocations: 0 / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001322/0.00818, allocations: 49.58 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.008194, allocations: 8.125 kB / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.008197, allocations: 0 / 277.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.008215, allocations: 4 kB / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.287e-05/0.008268, allocations: 0 / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.008272, allocations: 0 / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.008304, allocations: 0 / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.008316, allocations: 7.938 kB / 277.5 MB, free: 12.21 MB / 266.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 0.0002089/0.008525, allocations: 275.7 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.00864, allocations: 156.8 kB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.545e-05/0.008736, allocations: 152.4 kB / 278.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001473/0.008883, allocations: 280 kB / 278.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001462/0.009029, allocations: 264.1 kB / 278.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001477/0.009177, allocations: 268 kB / 278.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.009809, allocations: 499.9 kB / 279.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-05/0.009894, allocations: 148.9 kB / 279.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.04e-05/0.009974, allocations: 148.8 kB / 279.7 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001585/0.01013, allocations: 272 kB / 280 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.01028, allocations: 272 kB / 280.2 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001461/0.01043, allocations: 264.3 kB / 280.5 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001363/0.01056, allocations: 264.1 kB / 280.7 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.01084, allocations: 456 kB / 281.2 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.01093, allocations: 156.8 kB / 281.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.01108, allocations: 272.1 kB / 281.6 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.01122, allocations: 144.9 kB / 281.7 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.01136, allocations: 276 kB / 282 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/0.01144, allocations: 148.9 kB / 282.2 MB, free: 7.406 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.449e-05/0.01153, allocations: 127.2 kB / 282.3 MB, free: 7.281 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01153, allocations: 0 / 282.3 MB, free: 7.281 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000295/0.01182, allocations: 47.86 kB / 282.3 MB, free: 7.234 MB / 266.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.000527/0.01235, allocations: 293.1 kB / 282.6 MB, free: 6.938 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.676e-05/0.01244, allocations: 15.62 kB / 282.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01244, allocations: 0 / 282.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.01244, allocations: 0 / 282.6 MB, free: 6.918 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005614/0.013, allocations: 0.7023 MB / 283.3 MB, free: 6.211 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.01328, allocations: 225.5 kB / 283.6 MB, free: 5.961 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.199e-05/0.01335, allocations: 59.3 kB / 283.6 MB, free: 5.883 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.519e-05/0.01343, allocations: 20.03 kB / 283.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.01345, allocations: 8.5 kB / 283.6 MB, free: 5.855 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01345, allocations: 0 / 283.6 MB, free: 5.855 MB / 266.7 MB Notification: Performance of Templates: time 0.004152/0.0176, allocations: 1.017 MB / 284.7 MB, free: 4.848 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] 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.3573673070641235]