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.001507/0.001507, allocations: 111.6 kB / 18.45 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.001772/0.001772, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2241, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002543/0.2267, allocations: 1.702 MB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000887/0.2276, allocations: 0.5493 MB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.2277, allocations: 0 / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.879e-05/0.2278, allocations: 7.875 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.228, allocations: 31.78 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.2282, allocations: 59.86 kB / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.2284, allocations: 103.6 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2285, allocations: 25.11 kB / 412.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.2286, allocations: 51.78 kB / 412.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.532e-05/0.2287, allocations: 43.77 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.2287, allocations: 8 kB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.536e-05/0.2288, allocations: 12 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.2288, allocations: 23.91 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.2289, allocations: 43.67 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.2291, allocations: 95.52 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2291, allocations: 0 / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2291, allocations: 0 / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.2291, allocations: 0 / 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.0005039/0.2296, allocations: 411 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2296, allocations: 8.031 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.2298, allocations: 24.83 kB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.23, allocations: 215.9 kB / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.23, allocations: 4.375 kB / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.2301, allocations: 12.12 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.2303, allocations: 85.53 kB / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2303, allocations: 0 / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.2304, allocations: 4 kB / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.2304, allocations: 4 kB / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.2306, allocations: 43.91 kB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007548/0.2314, allocations: 408 kB / 413.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.2316, allocations: 62.62 kB / 413.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.2317, allocations: 28.84 kB / 414 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2318, allocations: 0 / 414 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2318, allocations: 34.56 kB / 414 MB, free: 13.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.814e-06/0.2318, allocations: 0 / 414 MB, free: 13.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004227/0.2322, allocations: 105.5 kB / 414.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.2323, allocations: 51.41 kB / 414.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.2325, allocations: 146.4 kB / 414.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.2325, allocations: 37.64 kB / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.615e-05/0.2326, allocations: 108.2 kB / 414.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.2326, allocations: 19.8 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.2327, allocations: 25.7 kB / 414.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2329, allocations: 314.8 kB / 414.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.747e-05/0.233, allocations: 19.98 kB / 414.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.474e-05/0.2331, allocations: 23.98 kB / 414.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.2333, allocations: 48.84 kB / 414.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2333, allocations: 0 / 414.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001849/0.2335, allocations: 93.55 kB / 415 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2335, allocations: 11.94 kB / 415 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2335, allocations: 0 / 415 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2335, allocations: 0 / 415 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.2338, allocations: 35.97 kB / 415 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2338, allocations: 4 kB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.2338, allocations: 7.953 kB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.2339, allocations: 0 / 415 MB, free: 12.27 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 8.254e-05/0.2339, allocations: 117.8 kB / 415.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.234, allocations: 11.89 kB / 415.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.234, allocations: 16.3 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.234, allocations: 0 / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.234, allocations: 0 / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.2341, allocations: 85.06 kB / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2341, allocations: 4 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.021e-05/0.2342, allocations: 3.984 kB / 415.3 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.2343, allocations: 7.938 kB / 415.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003699/0.2346, allocations: 176.9 kB / 415.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002934/0.2349, allocations: 290.7 kB / 415.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.536e-05/0.235, allocations: 32.22 kB / 415.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.946e-05/0.2351, allocations: 110.8 kB / 415.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Backend: time 4.41e-07/0.2351, allocations: 0 / 415.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003893/0.2355, allocations: 106.4 kB / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006044/0.2361, allocations: 0.6951 MB / 416.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of Templates: time 0.003329/0.2394, allocations: 1.087 MB / 417.7 MB, free: 9.441 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