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.001412/0.001412, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.822/1.822, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001105/0.001105, allocations: 101 kB / 270.9 MB, free: 8.402 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003616, allocations: 11.98 kB / 327 MB, free: 248 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3144, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.4294, allocations: 76.2 MB / 450.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4297, allocations: 71.97 kB / 450.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009507/0.4392, allocations: 2.225 MB / 453 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4393, allocations: 0 / 453 MB, free: 2.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.4393, allocations: 8 kB / 453 MB, free: 2.285 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.0006264/0.4399, allocations: 402.8 kB / 453.4 MB, free: 1.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.44, allocations: 12.03 kB / 453.4 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.4401, allocations: 11.81 kB / 453.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.4404, allocations: 207.9 kB / 453.6 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.4404, allocations: 4 kB / 453.6 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.4404, allocations: 11.95 kB / 453.7 MB, free: 1.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.4407, allocations: 81.59 kB / 453.7 MB, free: 1.473 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4407, allocations: 4 kB / 453.7 MB, free: 1.469 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.4407, allocations: 0 / 453.7 MB, free: 1.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.4408, allocations: 7.938 kB / 453.8 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.441, allocations: 47.97 kB / 453.8 MB, free: 1.414 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/0.4417, allocations: 408 kB / 454.2 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.4419, allocations: 66.56 kB / 454.3 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.442, allocations: 0 / 454.3 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.442, allocations: 36.91 kB / 454.3 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 3.586e-06/0.442, allocations: 0 / 454.3 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004132/0.4424, allocations: 109.5 kB / 454.4 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.4425, allocations: 51.41 kB / 454.5 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.4426, allocations: 137 kB / 454.6 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.4427, allocations: 25.7 kB / 454.6 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/0.4428, allocations: 174.7 kB / 454.8 MB, free: 328 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.4428, allocations: 15.75 kB / 454.8 MB, free: 312 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.4428, allocations: 0 / 454.8 MB, free: 312 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.443, allocations: 326.8 kB / 455.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.912e-05/0.4431, allocations: 23.98 kB / 455.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.083e-05/0.4432, allocations: 19.98 kB / 455.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.4433, allocations: 23.98 kB / 455.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4433, allocations: 0 / 455.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000264/0.4436, allocations: 85.62 kB / 455.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4436, allocations: 4 kB / 455.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4437, allocations: 0 / 455.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.4437, allocations: 0 / 455.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.4441, allocations: 43.97 kB / 455.3 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4441, allocations: 0 / 455.3 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.949e-05/0.4442, allocations: 11.89 kB / 455.3 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.4442, allocations: 0 / 455.3 MB, free: 15.76 MB / 346.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 0.000108/0.4443, allocations: 121.8 kB / 455.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.4444, allocations: 7.906 kB / 455.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.4444, allocations: 12.31 kB / 455.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4444, allocations: 0 / 455.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4444, allocations: 3.984 kB / 455.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.4444, allocations: 4.188 kB / 455.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.4447, allocations: 201.5 kB / 455.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4447, allocations: 4 kB / 455.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.445, allocations: 23.98 kB / 455.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.445, allocations: 0 / 455.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.445, allocations: 8 kB / 455.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.445, allocations: 0 / 455.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.445, allocations: 0 / 455.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.4455, allocations: 207.4 kB / 455.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.4455, allocations: 85.02 kB / 456 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.4456, allocations: 12.03 kB / 456 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.4457, allocations: 7.922 kB / 456 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.4458, allocations: 4 kB / 456 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.4458, allocations: 0 / 456 MB, free: 14.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.4459, allocations: 111.8 kB / 456.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4459, allocations: 0 / 456.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002979/0.4462, allocations: 19.91 kB / 456.1 MB, free: 14.86 MB / 346.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.0001146/0.4463, allocations: 95.25 kB / 456.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.4466, allocations: 55.97 kB / 456.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4466, allocations: 0 / 456.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.4467, allocations: 27.92 kB / 456.3 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.4471, allocations: 20.45 kB / 456.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008381/0.4479, allocations: 329.8 kB / 456.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.4482, allocations: 0.7082 MB / 457.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.4483, allocations: 11.44 kB / 457.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of SimCode: time 6.72e-07/0.4483, allocations: 0 / 457.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of Templates: time 0.003384/0.4517, allocations: 1.161 MB / 458.5 MB, free: 12.4 MB / 346.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