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.001781/0.001781, allocations: 119.9 kB / 18.41 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002259/0.002259, allocations: 207.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 64.02 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1159, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002914/0.1188, allocations: 1.692 MB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009527/0.1198, allocations: 0.5509 MB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.745e-05/0.1199, allocations: 0 / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.12, allocations: 19.86 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1202, allocations: 15.8 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.1204, allocations: 59.86 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1206, allocations: 99.69 kB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1208, allocations: 41.09 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1209, allocations: 43.78 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.353e-05/0.121, allocations: 47.77 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.121, allocations: 4 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.143e-05/0.1211, allocations: 12 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.1212, allocations: 19.92 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.1212, allocations: 43.67 kB / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.1214, allocations: 99.58 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1214, allocations: 0 / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1214, allocations: 0 / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1214, allocations: 0 / 361.6 MB, free: 10.59 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.0006066/0.122, allocations: 407 kB / 362 MB, free: 10.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1221, allocations: 12.03 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.1223, allocations: 24.73 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.1226, allocations: 220.1 kB / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1226, allocations: 8.375 kB / 362.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.1226, allocations: 8.125 kB / 362.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.1229, allocations: 77.66 kB / 362.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1229, allocations: 4 kB / 362.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1229, allocations: 4 kB / 362.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.123, allocations: 0 / 362.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.1231, allocations: 35.98 kB / 362.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.1237, allocations: 407.9 kB / 362.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1239, allocations: 62.53 kB / 362.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.1239, allocations: 32.88 kB / 362.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.124, allocations: 7.938 kB / 362.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.124, allocations: 34.56 kB / 363 MB, free: 9.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.124, allocations: 0 / 363 MB, free: 9.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002847/0.1243, allocations: 101.4 kB / 363.1 MB, free: 9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1244, allocations: 55.41 kB / 363.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1245, allocations: 146.4 kB / 363.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.1246, allocations: 25.7 kB / 363.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.1247, allocations: 112.1 kB / 363.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.1247, allocations: 19.8 kB / 363.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.1248, allocations: 17.72 kB / 363.4 MB, free: 8.586 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.125, allocations: 322.8 kB / 363.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.218e-05/0.125, allocations: 19.98 kB / 363.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.845e-05/0.1251, allocations: 27.95 kB / 363.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1252, allocations: 48.84 kB / 363.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1252, allocations: 0 / 363.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001567/0.1254, allocations: 89.53 kB / 363.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1254, allocations: 4 kB / 363.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1254, allocations: 0 / 363.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1254, allocations: 3.938 kB / 363.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.1256, allocations: 39.97 kB / 364 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1257, allocations: 4 kB / 364 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.1257, allocations: 11.83 kB / 364 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.1257, allocations: 4.25 kB / 364 MB, free: 8.004 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.91e-05/0.1258, allocations: 121.8 kB / 364.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.1259, allocations: 11.84 kB / 364.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.1259, allocations: 12.25 kB / 364.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1259, allocations: 11.98 kB / 364.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1259, allocations: 0 / 364.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1259, allocations: 0 / 364.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1261, allocations: 193.6 kB / 364.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1261, allocations: 0 / 364.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.1263, allocations: 27.92 kB / 364.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1263, allocations: 0 / 364.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1263, allocations: 4 kB / 364.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1263, allocations: 0 / 364.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1263, allocations: 7.938 kB / 364.4 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.1266, allocations: 195.4 kB / 364.6 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.1267, allocations: 88.98 kB / 364.6 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.1267, allocations: 3.984 kB / 364.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.151e-05/0.1268, allocations: 4 kB / 364.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.1268, allocations: 4.062 kB / 364.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1268, allocations: 4 kB / 364.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.286e-05/0.1269, allocations: 118.8 kB / 364.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1269, allocations: 0 / 364.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.1272, allocations: 15.91 kB / 364.8 MB, free: 7.105 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 (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.0001478/0.1273, allocations: 95.25 kB / 364.9 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.1275, allocations: 51.91 kB / 364.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1275, allocations: 8 kB / 364.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.893e-05/0.1276, allocations: 23.98 kB / 365 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.1279, allocations: 26.33 kB / 365 MB, free: 6.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.1285, allocations: 264.8 kB / 365.3 MB, free: 6.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.1288, allocations: 0.7051 MB / 366 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.699e-05/0.1289, allocations: 12.14 kB / 366 MB, free: 5.867 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.1289, allocations: 11.44 kB / 366 MB, free: 5.859 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.129, allocations: 0 / 366 MB, free: 5.859 MB / 302.1 MB Notification: Performance of Templates: time 0.003363/0.1323, allocations: 0.8875 MB / 366.9 MB, free: 4.977 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches