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.001751/0.001751, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.002081/0.002081, allocations: 208.2 kB / 20.75 MB, free: 2.336 MB / 14.72 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 1.615/1.615, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001552/0.001552, allocations: 55.92 kB / 373.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 53.34 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003083/0.1086, allocations: 1.698 MB / 428.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1097, allocations: 0.5571 MB / 429.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.809e-05/0.1098, allocations: 0 / 429.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.1099, allocations: 11.86 kB / 429.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.1101, allocations: 27.73 kB / 429.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.1103, allocations: 63.86 kB / 429.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1105, allocations: 99.64 kB / 429.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1106, allocations: 25.09 kB / 429.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1108, allocations: 51.78 kB / 429.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.636e-05/0.1109, allocations: 43.77 kB / 429.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1109, allocations: 4 kB / 429.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.741e-05/0.1109, allocations: 16 kB / 429.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.111, allocations: 23.86 kB / 429.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.1111, allocations: 39.73 kB / 429.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1112, allocations: 95.52 kB / 429.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1112, allocations: 0 / 429.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1112, allocations: 0 / 429.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.1113, allocations: 0 / 429.5 MB, free: 1.543 MB / 350.1 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.0006334/0.1119, allocations: 407 kB / 429.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1119, allocations: 15.97 kB / 430 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.1121, allocations: 28.83 kB / 430 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.1124, allocations: 212.7 kB / 430.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.1124, allocations: 4.375 kB / 430.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.1124, allocations: 12.12 kB / 430.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.1126, allocations: 75.92 kB / 430.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1126, allocations: 4 kB / 430.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1126, allocations: 3.984 kB / 430.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1126, allocations: 0 / 430.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1128, allocations: 43.92 kB / 430.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/0.1134, allocations: 411.9 kB / 430.7 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1135, allocations: 58.59 kB / 430.8 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.465e-05/0.1136, allocations: 24.89 kB / 430.8 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1136, allocations: 0 / 430.8 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.1137, allocations: 46.56 kB / 430.9 MB, free: 52 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 4.198e-06/0.1137, allocations: 3.984 kB / 430.9 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003381/0.114, allocations: 101.5 kB / 431 MB, free: 15.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.1141, allocations: 55.34 kB / 431 MB, free: 15.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1142, allocations: 144.5 kB / 431.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.1142, allocations: 29.7 kB / 431.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.1143, allocations: 104.1 kB / 431.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.1143, allocations: 31.92 kB / 431.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.1144, allocations: 21.7 kB / 431.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1146, allocations: 318.8 kB / 431.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.1146, allocations: 19.98 kB / 431.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.1147, allocations: 20 kB / 431.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1148, allocations: 48.78 kB / 431.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1148, allocations: 3.938 kB / 431.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001966/0.115, allocations: 97.5 kB / 431.8 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.115, allocations: 8 kB / 431.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.115, allocations: 0 / 431.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.115, allocations: 0 / 431.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.1153, allocations: 35.97 kB / 431.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1153, allocations: 0 / 431.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.873e-05/0.1154, allocations: 7.953 kB / 431.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.1154, allocations: 7.984 kB / 431.9 MB, free: 14.95 MB / 366.1 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 0.0001015/0.1155, allocations: 117.8 kB / 432 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.1155, allocations: 11.89 kB / 432 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.1155, allocations: 12.31 kB / 432 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1155, allocations: 0 / 432 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1156, allocations: 0 / 432 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1156, allocations: 0 / 432 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.1158, allocations: 197.6 kB / 432.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1158, allocations: 7.984 kB / 432.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.116, allocations: 23.92 kB / 432.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.116, allocations: 0 / 432.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.116, allocations: 4 kB / 432.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.116, allocations: 0 / 432.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.116, allocations: 0 / 432.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.1163, allocations: 199.5 kB / 432.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.1164, allocations: 92.97 kB / 432.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1164, allocations: 4.312 kB / 432.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.1165, allocations: 7.984 kB / 432.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.1165, allocations: 8.062 kB / 432.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1165, allocations: 0 / 432.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.624e-05/0.1166, allocations: 118.6 kB / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1166, allocations: 0 / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1169, allocations: 19.95 kB / 432.7 MB, free: 14.04 MB / 366.1 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 0.000118/0.117, allocations: 91.25 kB / 432.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.1172, allocations: 51.95 kB / 432.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.1172, allocations: 4 kB / 432.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/0.1173, allocations: 27.92 kB / 432.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1176, allocations: 29.98 kB / 432.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006331/0.1182, allocations: 252.5 kB / 433.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1186, allocations: 0.7119 MB / 433.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.188e-05/0.1186, allocations: 4 kB / 433.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.1187, allocations: 7.438 kB / 433.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1187, allocations: 4 kB / 433.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of Templates: time 0.003652/0.1223, allocations: 0.9039 MB / 434.8 MB, free: 11.91 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.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.787574231624603]