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.002167/0.002167, allocations: 180.3 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 89.88 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.358e-05/2.373e-05, allocations: 4 kB / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3439, allocations: 47.56 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.4657, allocations: 75.45 MB / 437.8 MB, free: 10.87 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.466, allocations: 63.97 kB / 437.8 MB, free: 10.81 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01003/0.4761, allocations: 2.211 MB / 440 MB, free: 8.617 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4761, allocations: 4 kB / 440.1 MB, free: 8.613 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.4761, allocations: 1.469 kB / 440.1 MB, free: 8.613 MB / 331.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.0005854/0.4767, allocations: 386.5 kB / 440.4 MB, free: 8.195 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.4768, allocations: 8.031 kB / 440.4 MB, free: 8.188 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.4769, allocations: 23.17 kB / 440.5 MB, free: 8.168 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.4772, allocations: 201.3 kB / 440.7 MB, free: 7.93 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.4772, allocations: 0 / 440.7 MB, free: 7.93 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.4773, allocations: 14.7 kB / 440.7 MB, free: 7.918 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001257/0.4774, allocations: 28 kB / 440.7 MB, free: 7.891 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.4776, allocations: 61.67 kB / 440.8 MB, free: 7.824 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4776, allocations: 0 / 440.8 MB, free: 7.824 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.4776, allocations: 0 / 440.8 MB, free: 7.824 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4776, allocations: 0 / 440.8 MB, free: 7.824 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007574/0.4784, allocations: 390.8 kB / 441.1 MB, free: 7.395 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.4786, allocations: 58.55 kB / 441.2 MB, free: 7.328 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.4787, allocations: 22.77 kB / 441.2 MB, free: 7.305 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.4787, allocations: 5.875 kB / 441.2 MB, free: 7.301 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.4787, allocations: 36.56 kB / 441.3 MB, free: 7.258 MB / 331.1 MB Notification: Performance of pre-optimization done (n=5): time 1.704e-06/0.4788, allocations: 0 / 441.3 MB, free: 7.258 MB / 331.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002378/0.479, allocations: 61.59 kB / 441.3 MB, free: 7.191 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.4791, allocations: 59.41 kB / 441.4 MB, free: 7.121 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.4792, allocations: 124.4 kB / 441.5 MB, free: 6.996 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4793, allocations: 25.7 kB / 441.5 MB, free: 6.965 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.4794, allocations: 170.7 kB / 441.7 MB, free: 6.797 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.4794, allocations: 15.8 kB / 441.7 MB, free: 6.781 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.4794, allocations: 4 kB / 441.7 MB, free: 6.777 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4796, allocations: 314.8 kB / 442 MB, free: 6.461 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.831e-05/0.4796, allocations: 12 kB / 442 MB, free: 6.449 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/0.4797, allocations: 16 kB / 442 MB, free: 6.434 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.073e-05/0.4798, allocations: 24.86 kB / 442.1 MB, free: 6.41 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4798, allocations: 0 / 442.1 MB, free: 6.41 MB / 331.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000172/0.48, allocations: 69.81 kB / 442.1 MB, free: 6.336 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.48, allocations: 4 kB / 442.1 MB, free: 6.332 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.48, allocations: 3.938 kB / 442.1 MB, free: 6.328 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.48, allocations: 0 / 442.1 MB, free: 6.328 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.4804, allocations: 39.97 kB / 442.2 MB, free: 6.289 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4805, allocations: 1.922 kB / 442.2 MB, free: 6.289 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.4806, allocations: 10 kB / 442.2 MB, free: 6.281 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.4806, allocations: 4 kB / 442.2 MB, free: 6.277 MB / 331.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 () * 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.784e-05/0.4807, allocations: 104.9 kB / 442.3 MB, free: 6.168 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.4808, allocations: 7.906 kB / 442.3 MB, free: 6.16 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.4808, allocations: 16.39 kB / 442.3 MB, free: 6.141 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.4809, allocations: 7.922 kB / 442.3 MB, free: 6.133 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4809, allocations: 0 / 442.3 MB, free: 6.133 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4809, allocations: 2.531 kB / 442.3 MB, free: 6.133 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.4812, allocations: 174.1 kB / 442.5 MB, free: 5.926 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4812, allocations: 0 / 442.5 MB, free: 5.926 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.4815, allocations: 31.97 kB / 442.5 MB, free: 5.895 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4815, allocations: 0 / 442.5 MB, free: 5.895 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.4815, allocations: 0 / 442.5 MB, free: 5.895 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4815, allocations: 0 / 442.5 MB, free: 5.895 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4815, allocations: 0 / 442.5 MB, free: 5.895 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.4819, allocations: 186.5 kB / 442.7 MB, free: 5.699 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.482, allocations: 89 kB / 442.8 MB, free: 5.594 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.482, allocations: 64 / 442.8 MB, free: 5.594 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.4821, allocations: 8 kB / 442.8 MB, free: 5.586 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.4822, allocations: 3.984 kB / 442.8 MB, free: 5.582 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.4822, allocations: 0 / 442.8 MB, free: 5.582 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.4824, allocations: 110 kB / 442.9 MB, free: 5.477 MB / 331.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4824, allocations: 0 / 442.9 MB, free: 5.477 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0003445/0.4827, allocations: 15.91 kB / 442.9 MB, free: 5.461 MB / 331.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 () * 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.0001671/0.4829, allocations: 103.2 kB / 443 MB, free: 5.352 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.4831, allocations: 36 kB / 443.1 MB, free: 5.316 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4831, allocations: 0 / 443.1 MB, free: 5.316 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 5.598e-05/0.4832, allocations: 19.94 kB / 443.1 MB, free: 5.297 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.4835, allocations: 22.41 kB / 443.1 MB, free: 5.277 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007986/0.4844, allocations: 199 kB / 443.3 MB, free: 5.051 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.4847, allocations: 0.708 MB / 444 MB, free: 4.316 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.4848, allocations: 14.34 kB / 444 MB, free: 4.305 MB / 331.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4848, allocations: 0 / 444 MB, free: 4.305 MB / 331.1 MB Notification: Performance of Templates: time 0.003684/0.4885, allocations: 1.139 MB / 445.2 MB, free: 3.184 MB / 331.1 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