Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 101.4 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 205.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002584, allocations: 8 kB / 306.6 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1051, allocations: 51.48 MB / 358 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.001883/0.1071, allocations: 1.373 MB / 359.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009223/0.108, allocations: 0.4991 MB / 359.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1081, allocations: 3.938 kB / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.1083, allocations: 11.94 kB / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.1085, allocations: 15.97 kB / 359.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.1087, allocations: 43.81 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1089, allocations: 63.86 kB / 360.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.1091, allocations: 33.08 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1092, allocations: 39.84 kB / 360.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1094, allocations: 27.84 kB / 360.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1094, allocations: 4 kB / 360.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.68e-05/0.1094, allocations: 4 kB / 360.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.094e-05/0.1095, allocations: 19.91 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.1096, allocations: 37.64 kB / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.1097, allocations: 56.17 kB / 360.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1097, allocations: 4 kB / 360.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1097, allocations: 0 / 360.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1097, allocations: 4 kB / 360.3 MB, free: 11.69 MB / 302.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.0005829/0.1103, allocations: 395.5 kB / 360.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1104, allocations: 12.03 kB / 360.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.1106, allocations: 27.8 kB / 360.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1108, allocations: 204.5 kB / 360.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1108, allocations: 8 kB / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.1109, allocations: 11.95 kB / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.1111, allocations: 83.98 kB / 361 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1111, allocations: 4 kB / 361 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1111, allocations: 0 / 361 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1111, allocations: 0 / 361 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.1112, allocations: 47.97 kB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/0.1118, allocations: 404 kB / 361.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.112, allocations: 66.62 kB / 361.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.112, allocations: 0 / 361.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.112, allocations: 34.69 kB / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.112, allocations: 0 / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002973/0.1124, allocations: 101.5 kB / 361.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.1124, allocations: 55.41 kB / 361.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1125, allocations: 152.2 kB / 361.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1126, allocations: 25.7 kB / 361.9 MB, free: 9.891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.1126, allocations: 120.2 kB / 362 MB, free: 9.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.1127, allocations: 11.8 kB / 362 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.1127, allocations: 4 kB / 362 MB, free: 9.754 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1128, allocations: 322.8 kB / 362.3 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.535e-05/0.1129, allocations: 23.92 kB / 362.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.1129, allocations: 23.98 kB / 362.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.168e-05/0.113, allocations: 27.98 kB / 362.4 MB, free: 9.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.113, allocations: 0 / 362.4 MB, free: 9.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001658/0.1132, allocations: 93.52 kB / 362.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1132, allocations: 4 kB / 362.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1132, allocations: 0 / 362.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1132, allocations: 0 / 362.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.1134, allocations: 43.97 kB / 362.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1134, allocations: 0 / 362.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/0.1135, allocations: 11.86 kB / 362.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1135, allocations: 0 / 362.5 MB, free: 9.199 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.534e-05/0.1136, allocations: 121.8 kB / 362.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.1137, allocations: 7.906 kB / 362.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.1137, allocations: 20.23 kB / 362.7 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1137, allocations: 4 kB / 362.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1137, allocations: 0 / 362.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1137, allocations: 3.984 kB / 362.7 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.1139, allocations: 197.6 kB / 362.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.114, allocations: 0 / 362.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.1141, allocations: 27.92 kB / 362.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1141, allocations: 0 / 362.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.1141, allocations: 3.984 kB / 362.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1141, allocations: 0 / 362.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1141, allocations: 0 / 362.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.1144, allocations: 219.6 kB / 363.1 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.1145, allocations: 81.02 kB / 363.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1145, allocations: 4.031 kB / 363.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.1146, allocations: 0 / 363.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.1146, allocations: 11.98 kB / 363.2 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1147, allocations: 4.062 kB / 363.2 MB, free: 8.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1148, allocations: 106.8 kB / 363.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1148, allocations: 0 / 363.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.115, allocations: 12 kB / 363.4 MB, free: 8.301 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001048/0.1151, allocations: 103.2 kB / 363.5 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.1153, allocations: 47.98 kB / 363.5 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1153, allocations: 4 kB / 363.5 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.147e-05/0.1154, allocations: 27.92 kB / 363.5 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1156, allocations: 26.52 kB / 363.6 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.1162, allocations: 305.3 kB / 363.9 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1165, allocations: 0.7082 MB / 364.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.388e-05/0.1165, allocations: 7.984 kB / 364.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.1166, allocations: 15.44 kB / 364.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1166, allocations: 0 / 364.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of Templates: time 0.00271/0.1193, allocations: 0.7817 MB / 365.4 MB, free: 6.227 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_trunk_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches