Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001621/0.001621, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001875/0.001875, allocations: 212.4 kB / 23.73 MB, free: 4.164 MB / 14.72 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.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 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_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002889/0.002889, allocations: 63.91 kB / 378.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2335, allocations: 53.4 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002485/0.236, allocations: 1.351 MB / 433 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3785/0.6144, allocations: 130.9 MB / 0.5507 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.6145, allocations: 0 / 0.5507 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.133e-05/0.6145, allocations: 5.109 kB / 0.5507 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.6156, allocations: 383.8 kB / 0.551 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.6167, allocations: 0.5255 MB / 0.5516 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.6168, allocations: 73.38 kB / 0.5516 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.6169, allocations: 5.234 kB / 0.5516 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.428e-05/0.6169, allocations: 29.94 kB / 0.5517 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.617, allocations: 33.92 kB / 0.5517 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.617, allocations: 4.125 kB / 0.5517 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.6185, allocations: 0.9354 MB / 0.5526 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.6185, allocations: 21.55 kB / 0.5526 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.6186, allocations: 26.19 kB / 0.5527 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.6196, allocations: 0.667 MB / 0.5533 GB, free: 15.83 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.6196, allocations: 0 / 0.5533 GB, free: 15.83 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.6196, allocations: 1.375 kB / 0.5533 GB, free: 15.83 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.6197, allocations: 0 / 0.5533 GB, free: 15.83 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006847/0.6203, allocations: 383.6 kB / 0.5537 GB, free: 15.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.6204, allocations: 13.58 kB / 0.5537 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004517/0.6208, allocations: 72.73 kB / 0.5538 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.621, allocations: 144.2 kB / 0.5539 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.621, allocations: 11.66 kB / 0.5539 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.621, allocations: 2.969 kB / 0.5539 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.6212, allocations: 74.03 kB / 0.554 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.6212, allocations: 0 / 0.554 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.6212, allocations: 1.375 kB / 0.554 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.6212, allocations: 0 / 0.554 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.297e-05/0.6213, allocations: 44.53 kB / 0.554 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.6215, allocations: 135.9 kB / 0.5542 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.6218, allocations: 114.7 kB / 0.5543 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.9e-05/0.6218, allocations: 40.53 kB / 0.5543 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004278/0.6223, allocations: 57.36 kB / 0.5544 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.6223, allocations: 35.88 kB / 0.5544 GB, free: 15.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.6223, allocations: 4 kB / 0.5544 GB, free: 15.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003365/0.6226, allocations: 123.6 kB / 0.5545 GB, free: 15.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.6227, allocations: 77.11 kB / 0.5546 GB, free: 14.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.6228, allocations: 141.8 kB / 0.5547 GB, free: 14.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.6228, allocations: 32.7 kB / 0.5548 GB, free: 14.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.6229, allocations: 85.77 kB / 0.5548 GB, free: 14.72 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.6229, allocations: 27.22 kB / 0.5549 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.6229, allocations: 24.69 kB / 0.5549 GB, free: 14.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6231, allocations: 314.5 kB / 0.5552 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.6232, allocations: 34.84 kB / 0.5552 GB, free: 14.37 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.6232, allocations: 51.3 kB / 0.5553 GB, free: 14.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.6234, allocations: 79.27 kB / 0.5553 GB, free: 14.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6234, allocations: 2.156 kB / 0.5553 GB, free: 14.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002382/0.6236, allocations: 109.5 kB / 0.5555 GB, free: 14.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.6236, allocations: 7.641 kB / 0.5555 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.6236, allocations: 3 kB / 0.5555 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6236, allocations: 6.688 kB / 0.5555 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.6237, allocations: 17.84 kB / 0.5555 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6237, allocations: 5.141 kB / 0.5555 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.6238, allocations: 6.547 kB / 0.5555 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.6238, allocations: 5.906 kB / 0.5555 GB, free: 14.26 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 8.592e-05/0.6239, allocations: 109 kB / 0.5556 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.6239, allocations: 10.41 kB / 0.5556 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.6242, allocations: 120.2 kB / 0.5557 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6242, allocations: 2.188 kB / 0.5557 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6242, allocations: 5.203 kB / 0.5557 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6242, allocations: 3.312 kB / 0.5557 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.6243, allocations: 125.3 kB / 0.5559 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6243, allocations: 2.562 kB / 0.5559 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-05/0.6244, allocations: 17.44 kB / 0.5559 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.6244, allocations: 3.031 kB / 0.5559 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.6244, allocations: 0 / 0.5559 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6244, allocations: 0 / 0.5559 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6244, allocations: 2.625 kB / 0.5559 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.6247, allocations: 164.5 kB / 0.556 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.6247, allocations: 16.34 kB / 0.5561 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.6248, allocations: 5.188 kB / 0.5561 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.52e-05/0.6248, allocations: 10 kB / 0.5561 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.6248, allocations: 5.469 kB / 0.5561 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.6248, allocations: 0 / 0.5561 GB, free: 13.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.869e-05/0.6249, allocations: 113.2 kB / 0.5562 GB, free: 13.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6249, allocations: 0 / 0.5562 GB, free: 13.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005157/0.6254, allocations: 166.1 kB / 0.5563 GB, free: 13.77 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (6): * Single equations (assignments): 6 * 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.0008601/0.6263, allocations: 410 kB / 0.5567 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.6265, allocations: 67.41 kB / 0.5568 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6265, allocations: 3.938 kB / 0.5568 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.989e-05/0.6266, allocations: 29.58 kB / 0.5568 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.6268, allocations: 33.25 kB / 0.5569 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.6274, allocations: 323.7 kB / 0.5572 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.043e-05/0.6274, allocations: 73.83 kB / 0.5572 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.548e-05/0.6275, allocations: 15.72 kB / 0.5573 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.6275, allocations: 20.94 kB / 0.5573 GB, free: 13.28 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6275, allocations: 0 / 0.5573 GB, free: 13.28 MB / 462.1 MB Notification: Performance of Templates: time 0.008126/0.6356, allocations: 4.894 MB / 0.5621 GB, free: 12.73 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.976290574297309]