Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002305/0.002305, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001073/0.001073, allocations: 93.91 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.719e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09311/0.09316, allocations: 47.57 MB / 369.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.497, allocations: 76.11 MB / 445.2 MB, free: 1.031 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4973, allocations: 63.53 kB / 445.2 MB, free: 1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0101/0.5074, allocations: 2.22 MB / 447.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5075, allocations: 3.938 kB / 447.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.5075, allocations: 8 kB / 447.5 MB, free: 15.09 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.0005657/0.5081, allocations: 381.8 kB / 447.9 MB, free: 14.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.5081, allocations: 8.031 kB / 447.9 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.5082, allocations: 19.8 kB / 447.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.5086, allocations: 202.6 kB / 448.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.5086, allocations: 7.438 kB / 448.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.593e-05/0.5086, allocations: 11.95 kB / 448.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.5089, allocations: 74.67 kB / 448.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5089, allocations: 0 / 448.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5089, allocations: 2.297 kB / 448.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.5089, allocations: 4 kB / 448.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.5091, allocations: 32.8 kB / 448.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.5099, allocations: 413.8 kB / 448.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.5101, allocations: 59.41 kB / 448.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.5102, allocations: 25.42 kB / 448.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.5103, allocations: 0 / 448.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.5103, allocations: 34.56 kB / 448.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.843e-06/0.5103, allocations: 0 / 448.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002607/0.5106, allocations: 69.89 kB / 448.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.5107, allocations: 51.41 kB / 448.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.5108, allocations: 131.6 kB / 449 MB, free: 13.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.5109, allocations: 29.7 kB / 449 MB, free: 13.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.511, allocations: 173 kB / 449.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.511, allocations: 23.48 kB / 449.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.511, allocations: 0 / 449.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.5112, allocations: 318.8 kB / 449.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.5113, allocations: 18.75 kB / 449.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.5114, allocations: 19.61 kB / 449.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/0.5115, allocations: 14.81 kB / 449.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5115, allocations: 0 / 449.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001947/0.5117, allocations: 75.25 kB / 449.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5117, allocations: 4 kB / 449.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.5117, allocations: 3.938 kB / 449.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5117, allocations: 0 / 449.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.5122, allocations: 43.97 kB / 449.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5122, allocations: 0 / 449.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.166e-05/0.5123, allocations: 11.92 kB / 449.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.5123, allocations: 3.953 kB / 449.7 MB, free: 12.81 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 9.731e-05/0.5124, allocations: 108.4 kB / 449.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.5125, allocations: 7.906 kB / 449.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.979e-05/0.5125, allocations: 11.47 kB / 449.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.5125, allocations: 0 / 449.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5126, allocations: 4 kB / 449.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.5126, allocations: 4 kB / 449.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.5129, allocations: 194.6 kB / 450 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5129, allocations: 4 kB / 450 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.5131, allocations: 23.97 kB / 450 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5132, allocations: 64 / 450 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.5132, allocations: 4 kB / 450.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5132, allocations: 0 / 450.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5132, allocations: 0 / 450.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.5136, allocations: 207.1 kB / 450.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.5136, allocations: 81.02 kB / 450.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.5137, allocations: 4.031 kB / 450.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.5138, allocations: 0 / 450.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.5139, allocations: 7.984 kB / 450.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.5139, allocations: 3.188 kB / 450.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.514, allocations: 107.9 kB / 450.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.514, allocations: 0 / 450.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003037/0.5143, allocations: 23.91 kB / 450.5 MB, free: 12 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.000156/0.5145, allocations: 97.88 kB / 450.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.5147, allocations: 37.31 kB / 450.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5147, allocations: 0 / 450.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.5148, allocations: 19.56 kB / 450.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.5151, allocations: 23.36 kB / 450.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007589/0.5159, allocations: 217.7 kB / 450.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.5162, allocations: 0.7043 MB / 451.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.5163, allocations: 11.44 kB / 451.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5163, allocations: 0 / 451.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of Templates: time 0.003663/0.52, allocations: 1.162 MB / 452.7 MB, free: 9.719 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches