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.001197/0.001197, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001591/0.001591, allocations: 165 kB / 24.99 MB, free: 8.219 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.9492/0.9492, allocations: 177 MB / 205.2 MB, free: 5.582 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.884e-06/1.884e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.651e-05, allocations: 2.312 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001685/0.001711, allocations: 0.5171 MB / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.00377, allocations: 1.451 MB / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.003807, allocations: 0 / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.003827, allocations: 0 / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.003864, allocations: 0 / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007598/0.004624, allocations: 183.3 kB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.737e-05/0.004691, allocations: 12 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.004734, allocations: 0 / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.198e-05/0.004806, allocations: 15.92 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.004872, allocations: 11.98 kB / 275.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.004892, allocations: 0 / 275.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.005188, allocations: 159.8 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.005206, allocations: 7.984 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.005227, allocations: 0 / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.005522, allocations: 159.6 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.005526, allocations: 0 / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005527, allocations: 0 / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.005533, allocations: 0 / 275.5 MB, free: 15.24 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.000376/0.005909, allocations: 376.4 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.005954, allocations: 11.98 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.006113, allocations: 12.92 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.006225, allocations: 112.6 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.006238, allocations: 4.375 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.006251, allocations: 4.312 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.006366, allocations: 63.95 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.006374, allocations: 3.938 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.006386, allocations: 0 / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.006394, allocations: 0 / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.006412, allocations: 4 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.006824, allocations: 490.7 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.006926, allocations: 265.4 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.731e-05/0.006973, allocations: 134.8 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.007006, allocations: 123.2 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/0.007063, allocations: 156.6 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.007065, allocations: 3.938 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 8.307e-05/0.007148, allocations: 29.7 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.007229, allocations: 204.2 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.007349, allocations: 161.9 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.007364, allocations: 25.7 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.007427, allocations: 134.9 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.007429, allocations: 0 / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.007472, allocations: 23.38 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.007617, allocations: 492.1 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.007632, allocations: 8 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.007661, allocations: 29.69 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.00769, allocations: 11.69 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007692, allocations: 0 / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001224/0.007815, allocations: 45.59 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.007831, allocations: 11.06 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007835, allocations: 0 / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.007849, allocations: 0 / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.007906, allocations: 7.984 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.007911, allocations: 4.125 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.007951, allocations: 0 / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.007964, allocations: 7.984 kB / 278.4 MB, free: 12.11 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.0001155/0.008079, allocations: 271.8 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.008154, allocations: 152.8 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.228e-05/0.008217, allocations: 164.3 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.804e-05/0.008285, allocations: 264.1 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.418e-05/0.008359, allocations: 268.1 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.168e-05/0.00843, allocations: 268 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.008655, allocations: 499.9 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.287e-05/0.008698, allocations: 153.1 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.00874, allocations: 152.9 kB / 280.5 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.011e-05/0.008811, allocations: 268 kB / 280.8 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.798e-05/0.008889, allocations: 268 kB / 281 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.221e-05/0.008971, allocations: 272.1 kB / 281.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.228e-05/0.009043, allocations: 272 kB / 281.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.009209, allocations: 444 kB / 282 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.009262, allocations: 156.8 kB / 282.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.009351, allocations: 276 kB / 282.4 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.009461, allocations: 152.8 kB / 282.6 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.009537, allocations: 264.1 kB / 282.8 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.009583, allocations: 156.8 kB / 283 MB, free: 7.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.359e-05/0.009647, allocations: 131.2 kB / 283.1 MB, free: 7.172 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009647, allocations: 0 / 283.1 MB, free: 7.172 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003249/0.009972, allocations: 39.88 kB / 283.2 MB, free: 7.133 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.0004505/0.01042, allocations: 288.5 kB / 283.4 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.755e-05/0.01051, allocations: 11.67 kB / 283.4 MB, free: 6.828 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01051, allocations: 4.062 kB / 283.5 MB, free: 6.824 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/0.01052, allocations: 4 kB / 283.5 MB, free: 6.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.01095, allocations: 0.707 MB / 284.2 MB, free: 6.109 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.01119, allocations: 221.5 kB / 284.4 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.01124, allocations: 55.34 kB / 284.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.634e-05/0.0113, allocations: 11.98 kB / 284.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.01132, allocations: 8.5 kB / 284.5 MB, free: 5.77 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01132, allocations: 0 / 284.5 MB, free: 5.77 MB / 266.7 MB Notification: Performance of Templates: time 0.004268/0.01559, allocations: 1.02 MB / 285.5 MB, free: 4.754 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6504429110791534]