Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 123.5 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 188.3 kB / 21.39 MB, free: 1.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 51.91 kB / 366.8 MB, free: 380 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1109, allocations: 52.15 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.004023/0.1149, allocations: 1.686 MB / 420.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1161, allocations: 490.7 kB / 421.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.217e-05/0.1162, allocations: 4 kB / 421.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.1163, allocations: 11.86 kB / 421.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.1165, allocations: 31.8 kB / 421.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.1167, allocations: 47.86 kB / 421.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.117, allocations: 95.7 kB / 421.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1171, allocations: 25.11 kB / 421.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1172, allocations: 43.83 kB / 421.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1173, allocations: 43.72 kB / 421.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.1173, allocations: 8 kB / 421.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.861e-05/0.1174, allocations: 4 kB / 421.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.1174, allocations: 23.91 kB / 421.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.1175, allocations: 47.73 kB / 421.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1177, allocations: 87.52 kB / 421.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1177, allocations: 0 / 421.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1177, allocations: 0 / 421.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1177, allocations: 0 / 421.6 MB, free: 9.488 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.0007092/0.1184, allocations: 418.9 kB / 422 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1184, allocations: 12.03 kB / 422 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.1185, allocations: 12.89 kB / 422 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.1188, allocations: 208.5 kB / 422.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1188, allocations: 4 kB / 422.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.1189, allocations: 8 kB / 422.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.1191, allocations: 84.27 kB / 422.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1191, allocations: 0 / 422.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.1191, allocations: 7.984 kB / 422.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1191, allocations: 0 / 422.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1193, allocations: 43.91 kB / 422.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007053/0.12, allocations: 411.9 kB / 422.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1202, allocations: 62.62 kB / 422.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/0.1203, allocations: 24.86 kB / 422.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1203, allocations: 3.984 kB / 422.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.1203, allocations: 46.44 kB / 422.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.1203, allocations: 0 / 422.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003537/0.1207, allocations: 89.62 kB / 423 MB, free: 7.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.1207, allocations: 51.41 kB / 423 MB, free: 7.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1209, allocations: 147.9 kB / 423.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1209, allocations: 29.64 kB / 423.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.801e-05/0.121, allocations: 112.2 kB / 423.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.121, allocations: 23.8 kB / 423.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.1211, allocations: 21.72 kB / 423.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1212, allocations: 318.8 kB / 423.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.378e-05/0.1213, allocations: 19.98 kB / 423.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.1214, allocations: 23.98 kB / 423.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1215, allocations: 44.78 kB / 423.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1215, allocations: 7.938 kB / 423.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002057/0.1217, allocations: 89.78 kB / 423.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1218, allocations: 6.5 kB / 423.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1218, allocations: 3.984 kB / 423.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1218, allocations: 4 kB / 423.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.122, allocations: 35.97 kB / 423.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1221, allocations: 0 / 423.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.1221, allocations: 7.953 kB / 423.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1221, allocations: 4 kB / 423.9 MB, free: 6.918 MB / 350.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.0001145/0.1222, allocations: 125.7 kB / 424 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.1223, allocations: 7.953 kB / 424 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.1223, allocations: 16.3 kB / 424.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1223, allocations: 0 / 424.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1223, allocations: 0 / 424.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1223, allocations: 0 / 424.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.1226, allocations: 201.5 kB / 424.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1226, allocations: 0 / 424.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.1228, allocations: 20.23 kB / 424.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1228, allocations: 0 / 424.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1228, allocations: 12 kB / 424.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1228, allocations: 3.984 kB / 424.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1228, allocations: 0 / 424.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.1232, allocations: 203.4 kB / 424.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.1232, allocations: 89 kB / 424.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.1233, allocations: 4.031 kB / 424.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1234, allocations: 8 kB / 424.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.1234, allocations: 8 kB / 424.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1234, allocations: 3.984 kB / 424.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.572e-05/0.1235, allocations: 108.7 kB / 424.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1235, allocations: 0 / 424.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1238, allocations: 15.94 kB / 424.7 MB, free: 6.008 MB / 350.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.0001087/0.1239, allocations: 103.2 kB / 424.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1241, allocations: 47.91 kB / 424.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1241, allocations: 4 kB / 424.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.1241, allocations: 27.92 kB / 424.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1244, allocations: 19.97 kB / 424.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006471/0.1251, allocations: 290.7 kB / 425.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1254, allocations: 0.7047 MB / 425.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.1255, allocations: 11.44 kB / 425.9 MB, free: 4.742 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1255, allocations: 0 / 425.9 MB, free: 4.742 MB / 350.1 MB Notification: Performance of Templates: time 0.00299/0.1284, allocations: 1.198 MB / 427.1 MB, free: 3.543 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.583534532925114]