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.001556/0.001556, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001842/0.001843, allocations: 190.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009987/0.0009987, allocations: 43.94 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2232, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002631/0.2258, allocations: 1.681 MB / 403.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007874/0.2266, allocations: 0.4909 MB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.716e-05/0.2267, allocations: 0 / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.745e-05/0.2268, allocations: 11.86 kB / 403.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.227, allocations: 23.81 kB / 403.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.2272, allocations: 43.92 kB / 403.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.2274, allocations: 103.6 kB / 403.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.2275, allocations: 41.09 kB / 403.8 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.2276, allocations: 39.84 kB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.609e-05/0.2277, allocations: 39.77 kB / 403.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.2277, allocations: 11.94 kB / 403.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.2277, allocations: 8 kB / 403.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.2278, allocations: 23.86 kB / 403.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.2279, allocations: 43.67 kB / 404 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.228, allocations: 81.25 kB / 404 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.228, allocations: 4 kB / 404 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.228, allocations: 0 / 404 MB, free: 6.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.228, allocations: 0 / 404 MB, free: 6.23 MB / 318.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.0005392/0.2286, allocations: 418.5 kB / 404.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.2286, allocations: 11.89 kB / 404.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.2287, allocations: 8.844 kB / 404.5 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.2289, allocations: 214 kB / 404.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2289, allocations: 8 kB / 404.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.2289, allocations: 8 kB / 404.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.2291, allocations: 77.66 kB / 404.8 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2291, allocations: 0 / 404.8 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.2292, allocations: 7.938 kB / 404.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.2292, allocations: 0 / 404.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.2293, allocations: 43.91 kB / 404.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.2298, allocations: 407.9 kB / 405.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.23, allocations: 62.62 kB / 405.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.23, allocations: 28.86 kB / 405.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.2301, allocations: 0 / 405.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2301, allocations: 38.48 kB / 405.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.2301, allocations: 4 kB / 405.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002872/0.2304, allocations: 97.52 kB / 405.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.2304, allocations: 51.41 kB / 405.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.2306, allocations: 148.1 kB / 405.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2306, allocations: 25.7 kB / 405.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.2306, allocations: 108.1 kB / 405.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.2307, allocations: 15.81 kB / 405.8 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.2307, allocations: 17.72 kB / 405.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2308, allocations: 326.8 kB / 406.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-05/0.2309, allocations: 15.98 kB / 406.1 MB, free: 3.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.231, allocations: 23.98 kB / 406.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.2311, allocations: 48.98 kB / 406.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2311, allocations: 0 / 406.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000177/0.2313, allocations: 93.45 kB / 406.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2313, allocations: 8 kB / 406.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2313, allocations: 7.984 kB / 406.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2313, allocations: 0 / 406.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.2316, allocations: 35.97 kB / 406.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2316, allocations: 0 / 406.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/0.2316, allocations: 8.156 kB / 406.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.2317, allocations: 11.92 kB / 406.4 MB, free: 3.668 MB / 318.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 7.886e-05/0.2317, allocations: 117.8 kB / 406.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.2318, allocations: 7.906 kB / 406.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.2318, allocations: 24.3 kB / 406.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2318, allocations: 0 / 406.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2318, allocations: 0 / 406.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.2319, allocations: 88.95 kB / 406.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.2319, allocations: 0 / 406.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.083e-05/0.232, allocations: 7.938 kB / 406.6 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.2321, allocations: 15.86 kB / 406.6 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004076/0.2325, allocations: 176.9 kB / 406.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002988/0.2328, allocations: 274.7 kB / 407.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.552e-05/0.2329, allocations: 23.92 kB / 407.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.807e-05/0.2329, allocations: 114.4 kB / 407.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of Backend: time 2.5e-07/0.2329, allocations: 0 / 407.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00036/0.2333, allocations: 102.5 kB / 407.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006191/0.2339, allocations: 0.697 MB / 408 MB, free: 1.93 MB / 318.1 MB Notification: Performance of Templates: time 0.003581/0.2375, allocations: 1.057 MB / 409.1 MB, free: 0.8828 MB / 318.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