Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 77.88 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 166.4 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.988/0.988, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.721e-05, allocations: 2.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002087/0.002114, allocations: 1.706 MB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008394/0.002954, allocations: 0.5492 MB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.89e-05/0.003053, allocations: 4 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.003177, allocations: 7.875 kB / 275.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.003386, allocations: 27.78 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.003575, allocations: 67.72 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.003705, allocations: 99.7 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.038e-05/0.003785, allocations: 25.28 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.00389, allocations: 59.81 kB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.003947, allocations: 27.91 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.003963, allocations: 12 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.459e-05/0.003997, allocations: 11.98 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.004039, allocations: 19.92 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.004068, allocations: 31.91 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.004173, allocations: 67.61 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004175, allocations: 0 / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004176, allocations: 0 / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.004178, allocations: 0 / 276.1 MB, free: 14.59 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003744/0.004553, allocations: 448 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.004585, allocations: 12.03 kB / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.111e-05/0.004676, allocations: 24.83 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.004802, allocations: 153 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.00481, allocations: 4.375 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.004828, allocations: 8.375 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.595e-05/0.004914, allocations: 70.94 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.00492, allocations: 3.938 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.004927, allocations: 3.938 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004931, allocations: 8 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.349e-05/0.004955, allocations: 11.98 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.005238, allocations: 316.1 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.826e-05/0.005306, allocations: 47.06 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.005326, allocations: 23.66 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.005339, allocations: 4 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.005357, allocations: 41.39 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.005358, allocations: 0 / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001178/0.005476, allocations: 69.56 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.005501, allocations: 55.41 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/0.005588, allocations: 209.2 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.0056, allocations: 25.7 kB / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.005656, allocations: 158.9 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.005675, allocations: 15.86 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.005705, allocations: 31.34 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.005829, allocations: 0.4884 MB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.005843, allocations: 8 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.23e-05/0.005856, allocations: 7.984 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.005891, allocations: 27.67 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.005892, allocations: 4 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.587e-05/0.005958, allocations: 73.56 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.005967, allocations: 4 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.00597, allocations: 0 / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.005979, allocations: 4 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.006092, allocations: 35.97 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.006096, allocations: 3.938 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.006118, allocations: 7.891 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.006124, allocations: 4 kB / 278.5 MB, free: 12.02 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 (7): * Single equations (assignments): 7 * 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.295e-05/0.006187, allocations: 160.6 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.006205, allocations: 11.89 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.006228, allocations: 16.45 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.006229, allocations: 0 / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.00623, allocations: 0 / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.006234, allocations: 3.938 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.006337, allocations: 117.2 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.006337, allocations: 0 / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.006399, allocations: 19.98 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.006401, allocations: 3.984 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.006409, allocations: 0 / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.00641, allocations: 4 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.006411, allocations: 7.938 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.00655, allocations: 220.1 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.006562, allocations: 15.95 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.006572, allocations: 4 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.621e-05/0.006608, allocations: 3.938 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.00663, allocations: 11.98 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.006632, allocations: 0 / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.943e-05/0.006682, allocations: 147.1 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006682, allocations: 0 / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001378/0.00682, allocations: 16.03 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * 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 (5): * Single equations (assignments): 5 * 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 6.526e-05/0.006885, allocations: 95.23 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.443e-05/0.006949, allocations: 31.67 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.00695, allocations: 0 / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.006971, allocations: 19.62 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.007158, allocations: 29.59 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.007629, allocations: 258.4 kB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.707e-05/0.007666, allocations: 71.27 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.617e-05/0.007692, allocations: 4 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.007752, allocations: 78.19 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007752, allocations: 0 / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of Templates: time 0.002335/0.01009, allocations: 1.033 MB / 280.8 MB, free: 9.555 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.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.672110941261053]