Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, allocations: 110.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001123, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2425, allocations: 50.53 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002483/0.2451, allocations: 1.699 MB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000863/0.2459, allocations: 0.5454 MB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.246, allocations: 7.938 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.757e-05/0.2461, allocations: 7.875 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.2463, allocations: 31.72 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.2465, allocations: 59.86 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.2466, allocations: 99.69 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2468, allocations: 37.08 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.2469, allocations: 43.8 kB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.467e-05/0.247, allocations: 43.77 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.247, allocations: 8 kB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.576e-05/0.2471, allocations: 15.98 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.2471, allocations: 15.92 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.2472, allocations: 43.73 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.2473, allocations: 91.3 kB / 412.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2473, allocations: 0 / 412.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2473, allocations: 4 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.2473, allocations: 3.938 kB / 412.7 MB, free: 14.86 MB / 334.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.0005323/0.2479, allocations: 408.5 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.2479, allocations: 8.031 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.2481, allocations: 20.83 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.2483, allocations: 216.2 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.2483, allocations: 4.375 kB / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.2484, allocations: 20.06 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.2485, allocations: 81.59 kB / 413.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2486, allocations: 0 / 413.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2486, allocations: 0 / 413.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2486, allocations: 0 / 413.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.2487, allocations: 43.97 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.2492, allocations: 411.9 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.2494, allocations: 58.62 kB / 413.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.06e-05/0.2494, allocations: 28.86 kB / 413.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.2495, allocations: 0 / 413.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.2495, allocations: 42.48 kB / 414 MB, free: 13.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2495, allocations: 4 kB / 414 MB, free: 13.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002561/0.2498, allocations: 97.52 kB / 414.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.2498, allocations: 55.34 kB / 414.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2499, allocations: 142.4 kB / 414.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2499, allocations: 29.7 kB / 414.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.25, allocations: 104 kB / 414.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.25, allocations: 23.8 kB / 414.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.2501, allocations: 17.72 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2502, allocations: 326.8 kB / 414.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-05/0.2502, allocations: 15.98 kB / 414.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.982e-05/0.2503, allocations: 23.98 kB / 414.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.2504, allocations: 52.77 kB / 414.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2504, allocations: 0 / 414.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001576/0.2506, allocations: 93.56 kB / 414.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2506, allocations: 7.938 kB / 415 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2506, allocations: 4 kB / 415 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2506, allocations: 0 / 415 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.2508, allocations: 35.97 kB / 415 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2509, allocations: 4 kB / 415 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.2509, allocations: 0 / 415 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.2509, allocations: 4 kB / 415 MB, free: 12.28 MB / 334.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 9.045e-05/0.251, allocations: 125.7 kB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.2511, allocations: 11.84 kB / 415.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.2511, allocations: 16.3 kB / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2511, allocations: 0 / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2511, allocations: 4 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.2512, allocations: 84.95 kB / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.2512, allocations: 0 / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.2513, allocations: 7.984 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.2513, allocations: 4 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003493/0.2517, allocations: 180.8 kB / 415.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002921/0.252, allocations: 291.1 kB / 415.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.105e-05/0.2521, allocations: 27.95 kB / 415.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.414e-05/0.2521, allocations: 106.6 kB / 415.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of Backend: time 2.01e-07/0.2521, allocations: 0 / 415.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003873/0.2525, allocations: 114.4 kB / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005761/0.2531, allocations: 0.6916 MB / 416.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of Templates: time 0.003379/0.2565, allocations: 1.09 MB / 417.7 MB, free: 9.445 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_trunk_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches