Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 103 kB / 17.16 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 190.9 kB / 18.08 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2/2, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 51.08 kB / 300.6 MB, free: 6.336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.166, allocations: 49.45 MB / 350 MB, free: 4.883 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.005766/0.1718, allocations: 1.731 MB / 351.8 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1736, allocations: 498.8 kB / 352.3 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.1738, allocations: 7.938 kB / 352.3 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.174, allocations: 3.938 kB / 352.3 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.1744, allocations: 19.84 kB / 352.3 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.1748, allocations: 43.97 kB / 352.3 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.1752, allocations: 99.62 kB / 352.4 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.1754, allocations: 32.95 kB / 352.5 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.1756, allocations: 39.84 kB / 352.5 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.1758, allocations: 39.77 kB / 352.5 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.1758, allocations: 8 kB / 352.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.844e-05/0.1759, allocations: 4 kB / 352.6 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.176, allocations: 19.92 kB / 352.6 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/0.1761, allocations: 39.73 kB / 352.6 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.1763, allocations: 64.06 kB / 352.7 MB, free: 2.227 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1763, allocations: 0 / 352.7 MB, free: 2.227 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1763, allocations: 0 / 352.7 MB, free: 2.227 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.046e-06/0.1763, allocations: 0 / 352.7 MB, free: 2.227 MB / 286.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.001024/0.1773, allocations: 403.1 kB / 353.1 MB, free: 1.785 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.996e-05/0.1774, allocations: 12.03 kB / 353.1 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/0.1776, allocations: 16.75 kB / 353.1 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.178, allocations: 196.7 kB / 353.3 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.1781, allocations: 11.94 kB / 353.3 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.1781, allocations: 11.91 kB / 353.3 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.1785, allocations: 73.66 kB / 353.4 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1785, allocations: 0 / 353.4 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.1786, allocations: 8 kB / 353.4 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1786, allocations: 0 / 353.4 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.1788, allocations: 39.97 kB / 353.4 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.1801, allocations: 411.9 kB / 353.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.1804, allocations: 62.62 kB / 353.9 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.1806, allocations: 40.72 kB / 353.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.1806, allocations: 7.984 kB / 353.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.1807, allocations: 34.5 kB / 354 MB, free: 0.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.714e-06/0.1807, allocations: 0 / 354 MB, free: 0.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005603/0.1813, allocations: 89.58 kB / 354.1 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/0.1814, allocations: 55.41 kB / 354.1 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.1817, allocations: 144.4 kB / 354.3 MB, free: 452 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/0.1818, allocations: 29.7 kB / 354.3 MB, free: 416 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.182, allocations: 112.1 kB / 354.4 MB, free: 300 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/0.1821, allocations: 15.72 kB / 354.4 MB, free: 284 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-05/0.1822, allocations: 25.7 kB / 354.4 MB, free: 252 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003484/0.1825, allocations: 314.8 kB / 354.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1827, allocations: 23.92 kB / 354.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.1829, allocations: 27.97 kB / 354.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.1831, allocations: 48.84 kB / 354.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1832, allocations: 0 / 354.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003776/0.1835, allocations: 93.75 kB / 354.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.1836, allocations: 4 kB / 354.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.1836, allocations: 0 / 354.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.518e-05/0.1837, allocations: 8 kB / 354.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.1842, allocations: 39.91 kB / 355 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.1842, allocations: 0 / 355 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.1844, allocations: 11.94 kB / 355 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.1844, allocations: 4 kB / 355 MB, free: 15.66 MB / 302.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001839/0.1846, allocations: 121.8 kB / 355.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.1847, allocations: 7.906 kB / 355.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.1848, allocations: 16.3 kB / 355.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1848, allocations: 0 / 355.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1849, allocations: 0 / 355.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1849, allocations: 0 / 355.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.1853, allocations: 197.6 kB / 355.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1853, allocations: 0 / 355.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.1856, allocations: 23.98 kB / 355.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.1856, allocations: 0 / 355.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.1857, allocations: 11.92 kB / 355.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1857, allocations: 0 / 355.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1857, allocations: 0 / 355.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.1863, allocations: 207.2 kB / 355.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.1864, allocations: 85 kB / 355.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.1865, allocations: 12.09 kB / 355.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.1866, allocations: 0 / 355.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.1867, allocations: 7.984 kB / 355.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.1867, allocations: 3.938 kB / 355.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1869, allocations: 104.8 kB / 355.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1869, allocations: 0 / 355.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004618/0.1874, allocations: 16 kB / 355.8 MB, free: 14.77 MB / 302.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002135/0.1876, allocations: 103.2 kB / 355.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.1879, allocations: 51.92 kB / 355.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1879, allocations: 0 / 355.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1881, allocations: 19.98 kB / 356 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.1888, allocations: 28.11 kB / 356 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.19, allocations: 324.8 kB / 356.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.1905, allocations: 0.7004 MB / 357 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.1906, allocations: 19.38 kB / 357 MB, free: 13.46 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1906, allocations: 3.938 kB / 357 MB, free: 13.46 MB / 302.1 MB Notification: Performance of Templates: time 0.00522/0.1958, allocations: 1.186 MB / 358.2 MB, free: 12.28 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches