Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 172.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007927/0.0007929, allocations: 86.7 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.783e-05, allocations: 3.984 kB / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1005, allocations: 47.58 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3124/0.413, allocations: 76.1 MB / 446.1 MB, free: 1.125 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001493/0.4131, allocations: 65.97 kB / 446.2 MB, free: 1.094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006252/0.4194, allocations: 2.228 MB / 448.4 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4194, allocations: 0 / 448.4 MB, free: 15.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.4194, allocations: 0 / 448.4 MB, free: 15.19 MB / 330.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.00042/0.4199, allocations: 386.6 kB / 448.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4199, allocations: 12.03 kB / 448.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.42, allocations: 11.81 kB / 448.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.4202, allocations: 208 kB / 449 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.4203, allocations: 15.81 kB / 449 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.4203, allocations: 11.77 kB / 449 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.4204, allocations: 73.48 kB / 449.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.4204, allocations: 0 / 449.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.4205, allocations: 0 / 449.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.4205, allocations: 10.06 kB / 449.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.602e-05/0.4205, allocations: 27.69 kB / 449.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.4211, allocations: 418.6 kB / 449.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.4212, allocations: 53.86 kB / 449.6 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.4212, allocations: 24.7 kB / 449.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.4213, allocations: 4 kB / 449.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.4213, allocations: 38.44 kB / 449.7 MB, free: 13.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4213, allocations: 0 / 449.7 MB, free: 13.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002014/0.4215, allocations: 68.97 kB / 449.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.4215, allocations: 51.41 kB / 449.8 MB, free: 13.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.4217, allocations: 137 kB / 449.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.4217, allocations: 25.7 kB / 449.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.4217, allocations: 112.1 kB / 450.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.4218, allocations: 11.75 kB / 450.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.4218, allocations: 4 kB / 450.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.4219, allocations: 322.8 kB / 450.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.4219, allocations: 15.75 kB / 450.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.422, allocations: 11.69 kB / 450.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.988e-05/0.422, allocations: 23.3 kB / 450.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.422, allocations: 224 / 450.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001194/0.4222, allocations: 80.98 kB / 450.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.4222, allocations: 7.938 kB / 450.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4222, allocations: 0 / 450.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.4222, allocations: 8 kB / 450.5 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.4224, allocations: 39.91 kB / 450.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.4224, allocations: 0 / 450.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.245e-05/0.4225, allocations: 7.938 kB / 450.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4225, allocations: 3.953 kB / 450.6 MB, free: 12.96 MB / 330.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 () * 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 6.663e-05/0.4226, allocations: 105 kB / 450.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.4226, allocations: 7.906 kB / 450.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.4227, allocations: 11.77 kB / 450.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4227, allocations: 8 kB / 450.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4227, allocations: 0 / 450.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4227, allocations: 0 / 450.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.4229, allocations: 200.4 kB / 450.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4229, allocations: 0 / 450.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.4231, allocations: 19.98 kB / 450.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4231, allocations: 3.938 kB / 450.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.4231, allocations: 7.984 kB / 450.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4231, allocations: 4.062 kB / 450.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4231, allocations: 0 / 450.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.4233, allocations: 194.7 kB / 451.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.4234, allocations: 85.05 kB / 451.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.4234, allocations: 0 / 451.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/0.4235, allocations: 7.984 kB / 451.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.4235, allocations: 0 / 451.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4235, allocations: 0 / 451.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.4e-05/0.4236, allocations: 112 kB / 451.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4236, allocations: 4.062 kB / 451.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.4238, allocations: 19.84 kB / 451.4 MB, free: 12.15 MB / 330.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 () * 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.0001211/0.424, allocations: 95.25 kB / 451.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.4241, allocations: 43.59 kB / 451.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4241, allocations: 3.812 kB / 451.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.4241, allocations: 15.88 kB / 451.5 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.4244, allocations: 25.52 kB / 451.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.4249, allocations: 186 kB / 451.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.4251, allocations: 0.7004 MB / 452.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.646e-05/0.4252, allocations: 11.77 kB / 452.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.4252, allocations: 11.44 kB / 452.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4252, allocations: 4 kB / 452.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of Templates: time 0.002844/0.4281, allocations: 0.8005 MB / 453.2 MB, free: 10.25 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches