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.002721/0.002727, allocations: 189.8 kB / 16.4 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.383/3.383, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001763/0.001763, allocations: 103.1 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005873/0.0005875, allocations: 8 kB / 327 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.506, allocations: 47.56 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003492/0.5096, allocations: 1.355 MB / 375.9 MB, free: 44.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.5113, allocations: 0.5018 MB / 376.4 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.5116, allocations: 1.375 kB / 376.4 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.5118, allocations: 3.938 kB / 376.4 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.512, allocations: 23.97 kB / 376.4 MB, free: 43.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.5124, allocations: 45.5 kB / 376.5 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.5126, allocations: 64.67 kB / 376.5 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.5128, allocations: 20.39 kB / 376.5 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.513, allocations: 36.72 kB / 376.6 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.5132, allocations: 34.84 kB / 376.6 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.5132, allocations: 2.031 kB / 376.6 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.903e-05/0.5132, allocations: 3.5 kB / 376.6 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.5133, allocations: 16.48 kB / 376.6 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.5134, allocations: 42.11 kB / 376.7 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.5136, allocations: 50.84 kB / 376.7 MB, free: 43.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5136, allocations: 1.031 kB / 376.7 MB, free: 43.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5136, allocations: 0 / 376.7 MB, free: 43.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.5137, allocations: 0 / 376.7 MB, free: 43.72 MB / 298.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.0008325/0.5145, allocations: 393.7 kB / 377.1 MB, free: 43.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.5146, allocations: 8.156 kB / 377.1 MB, free: 43.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.5147, allocations: 18 kB / 377.1 MB, free: 43.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.515, allocations: 208.7 kB / 377.3 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.5151, allocations: 7.062 kB / 377.3 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/0.5152, allocations: 9.25 kB / 377.3 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.5156, allocations: 75.03 kB / 377.4 MB, free: 43.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.5156, allocations: 0 / 377.4 MB, free: 43.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.5156, allocations: 8.906 kB / 377.4 MB, free: 43.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.5157, allocations: 1.219 kB / 377.4 MB, free: 43.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.516, allocations: 50.39 kB / 377.5 MB, free: 42.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009946/0.517, allocations: 406.2 kB / 377.9 MB, free: 42.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.5173, allocations: 69.91 kB / 377.9 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.5174, allocations: 0 / 377.9 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.5174, allocations: 31.56 kB / 378 MB, free: 42.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.766e-06/0.5174, allocations: 0 / 378 MB, free: 42.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006332/0.5181, allocations: 101.4 kB / 378.1 MB, free: 42.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.5182, allocations: 60.72 kB / 378.1 MB, free: 42.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.5184, allocations: 147.7 kB / 378.3 MB, free: 42.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.5185, allocations: 26.77 kB / 378.3 MB, free: 42.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.5186, allocations: 170 kB / 378.5 MB, free: 42.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.5186, allocations: 21.92 kB / 378.5 MB, free: 42.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.5187, allocations: 7.938 kB / 378.5 MB, free: 42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.5188, allocations: 311.9 kB / 378.8 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.5189, allocations: 24.89 kB / 378.8 MB, free: 41.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.5191, allocations: 24.23 kB / 378.9 MB, free: 41.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.5193, allocations: 25.61 kB / 378.9 MB, free: 41.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5193, allocations: 0 / 378.9 MB, free: 41.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004101/0.5197, allocations: 84.23 kB / 379 MB, free: 41.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.5198, allocations: 6.938 kB / 379 MB, free: 41.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.5198, allocations: 4 kB / 379 MB, free: 41.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.5198, allocations: 1.531 kB / 379 MB, free: 41.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/0.5204, allocations: 37.5 kB / 379 MB, free: 41.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.5204, allocations: 3.953 kB / 379 MB, free: 41.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.5206, allocations: 15.75 kB / 379 MB, free: 41.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.5206, allocations: 1.094 kB / 379 MB, free: 41.57 MB / 298.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.0001522/0.5208, allocations: 115.1 kB / 379.1 MB, free: 41.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.886e-05/0.5209, allocations: 19.11 kB / 379.2 MB, free: 41.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.826e-05/0.521, allocations: 11.03 kB / 379.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.521, allocations: 1.281 kB / 379.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.521, allocations: 0 / 379.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.521, allocations: 3.953 kB / 379.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.5214, allocations: 198.2 kB / 379.4 MB, free: 41.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/0.5215, allocations: 0 / 379.4 MB, free: 41.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.5219, allocations: 25.17 kB / 379.4 MB, free: 41.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.522, allocations: 3.984 kB / 379.4 MB, free: 41.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.522, allocations: 5 kB / 379.4 MB, free: 41.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.522, allocations: 5.094 kB / 379.4 MB, free: 41.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5221, allocations: 0 / 379.4 MB, free: 41.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00069/0.5228, allocations: 208.7 kB / 379.6 MB, free: 41.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.54e-05/0.5229, allocations: 84.2 kB / 379.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.5229, allocations: 4 kB / 379.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.5232, allocations: 7.312 kB / 379.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.5233, allocations: 6.766 kB / 379.7 MB, free: 40.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.5233, allocations: 1.156 kB / 379.7 MB, free: 40.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.5235, allocations: 104.5 kB / 379.8 MB, free: 40.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.5235, allocations: 0 / 379.8 MB, free: 40.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005905/0.5241, allocations: 16.19 kB / 379.8 MB, free: 40.81 MB / 298.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.0001655/0.5243, allocations: 99.84 kB / 379.9 MB, free: 40.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004358/0.5247, allocations: 59.16 kB / 380 MB, free: 40.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5248, allocations: 0 / 380 MB, free: 40.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.5249, allocations: 24.14 kB / 380 MB, free: 40.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.5255, allocations: 20.02 kB / 380 MB, free: 40.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.5268, allocations: 330.3 kB / 380.4 MB, free: 40.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.5271, allocations: 0.709 MB / 381.1 MB, free: 39.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.5272, allocations: 11.69 kB / 381.1 MB, free: 39.69 MB / 298.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5273, allocations: 3.938 kB / 381.1 MB, free: 39.68 MB / 298.7 MB Notification: Performance of Templates: time 0.005521/0.5328, allocations: 1.165 MB / 382.2 MB, free: 39.09 MB / 298.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