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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009937/0.0009936, allocations: 196.5 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.628/1.628, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008523/0.0008521, allocations: 98.58 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002187/0.0002187, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2006, allocations: 51.3 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09155/0.2922, allocations: 77.72 MB / 487.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.2924, allocations: 64.5 kB / 487.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006765/0.2992, allocations: 2.374 MB / 489.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.2992, allocations: 3.984 kB / 489.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.2992, allocations: 0 / 489.5 MB, free: 11.34 MB / 362.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.0004479/0.2997, allocations: 407.2 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2998, allocations: 12.03 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.2999, allocations: 24.83 kB / 490 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.3001, allocations: 212 kB / 490.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3001, allocations: 8.312 kB / 490.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.3002, allocations: 12.28 kB / 490.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.3003, allocations: 85.72 kB / 490.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.3004, allocations: 0 / 490.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3004, allocations: 0 / 490.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3004, allocations: 4 kB / 490.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3005, allocations: 43.98 kB / 490.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.3011, allocations: 419.9 kB / 490.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.3012, allocations: 58.59 kB / 490.8 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.66e-05/0.3013, allocations: 36.89 kB / 490.8 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.3013, allocations: 0 / 490.8 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.3013, allocations: 34.5 kB / 490.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3013, allocations: 4 kB / 490.9 MB, free: 9.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002713/0.3016, allocations: 105.6 kB / 491 MB, free: 9.719 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.3017, allocations: 59.34 kB / 491 MB, free: 9.648 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3018, allocations: 133.8 kB / 491.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3018, allocations: 25.7 kB / 491.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.3018, allocations: 108 kB / 491.3 MB, free: 9.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.3019, allocations: 23.78 kB / 491.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.3019, allocations: 4 kB / 491.3 MB, free: 9.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.302, allocations: 322.8 kB / 491.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.3021, allocations: 16 kB / 491.6 MB, free: 9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.946e-05/0.3021, allocations: 23.98 kB / 491.7 MB, free: 8.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.3023, allocations: 52.78 kB / 491.7 MB, free: 8.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3023, allocations: 4 kB / 491.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001636/0.3025, allocations: 97.66 kB / 491.8 MB, free: 8.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3025, allocations: 7.938 kB / 491.8 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3025, allocations: 7.938 kB / 491.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3025, allocations: 0 / 491.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.3027, allocations: 35.97 kB / 491.9 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.3027, allocations: 0 / 491.9 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.3028, allocations: 8 kB / 491.9 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.3028, allocations: 4 kB / 491.9 MB, free: 8.754 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.585e-05/0.3029, allocations: 121.8 kB / 492 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.3029, allocations: 15.84 kB / 492 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.303, allocations: 8.312 kB / 492 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.303, allocations: 0 / 492 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.303, allocations: 4 kB / 492 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.303, allocations: 0 / 492 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.3032, allocations: 197.6 kB / 492.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3032, allocations: 4 kB / 492.2 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.3033, allocations: 19.98 kB / 492.2 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3033, allocations: 7.922 kB / 492.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.3034, allocations: 0 / 492.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3034, allocations: 4 kB / 492.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3034, allocations: 0 / 492.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.3036, allocations: 215.3 kB / 492.5 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.3037, allocations: 84.95 kB / 492.6 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.3037, allocations: 8.281 kB / 492.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.3038, allocations: 0 / 492.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.3038, allocations: 7.984 kB / 492.6 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/0.3039, allocations: 8 kB / 492.6 MB, free: 7.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.222e-05/0.3039, allocations: 105.7 kB / 492.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3039, allocations: 0 / 492.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002149/0.3042, allocations: 20.06 kB / 492.7 MB, free: 7.848 MB / 362.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 (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.0001052/0.3043, allocations: 95.23 kB / 492.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.3044, allocations: 47.98 kB / 492.8 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3044, allocations: 0 / 492.8 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.812e-05/0.3045, allocations: 31.92 kB / 492.9 MB, free: 7.664 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.3048, allocations: 34.27 kB / 492.9 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.3054, allocations: 289.6 kB / 493.2 MB, free: 7.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.3056, allocations: 0.7043 MB / 493.9 MB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.477e-05/0.3057, allocations: 7.984 kB / 493.9 MB, free: 6.586 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.3057, allocations: 11.44 kB / 493.9 MB, free: 6.574 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3057, allocations: 0 / 493.9 MB, free: 6.574 MB / 362.7 MB Notification: Performance of Templates: time 0.002666/0.3084, allocations: 0.7946 MB / 494.7 MB, free: 5.789 MB / 362.7 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/jenkins1/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