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.001441/0.001441, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001785/0.001785, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3226, allocations: 50.54 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003311/0.326, allocations: 1.695 MB / 410.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3271, allocations: 0.5454 MB / 411.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.429e-05/0.3272, allocations: 0 / 411.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.3274, allocations: 11.86 kB / 411.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.3276, allocations: 23.8 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.3278, allocations: 63.86 kB / 411.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.328, allocations: 99.64 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3282, allocations: 33.09 kB / 411.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.3283, allocations: 47.78 kB / 411.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.3284, allocations: 47.77 kB / 411.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3285, allocations: 4 kB / 411.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.975e-05/0.3285, allocations: 12 kB / 411.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.3286, allocations: 23.92 kB / 411.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.3286, allocations: 39.73 kB / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.3288, allocations: 95.23 kB / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3288, allocations: 0 / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3288, allocations: 0 / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3288, allocations: 0 / 412 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.0006211/0.3295, allocations: 408.5 kB / 412.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3295, allocations: 12.03 kB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.3297, allocations: 20.83 kB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.33, allocations: 220.1 kB / 412.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.33, allocations: 12.38 kB / 412.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.33, allocations: 8.125 kB / 412.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.3302, allocations: 81.59 kB / 412.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3302, allocations: 0 / 412.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3303, allocations: 4 kB / 412.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3303, allocations: 0 / 412.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.3304, allocations: 43.98 kB / 412.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.331, allocations: 407.8 kB / 413.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.3312, allocations: 66.52 kB / 413.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.931e-05/0.3312, allocations: 32.89 kB / 413.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.3313, allocations: 4 kB / 413.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.3313, allocations: 30.56 kB / 413.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.3313, allocations: 0 / 413.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003117/0.3316, allocations: 97.5 kB / 413.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.3317, allocations: 59.34 kB / 413.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.3318, allocations: 142.4 kB / 413.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3319, allocations: 33.64 kB / 413.6 MB, free: 13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.3319, allocations: 104 kB / 413.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.332, allocations: 27.78 kB / 413.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.332, allocations: 17.72 kB / 413.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3322, allocations: 322.8 kB / 414.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.818e-05/0.3322, allocations: 15.98 kB / 414.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.376e-05/0.3323, allocations: 23.98 kB / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.3324, allocations: 60.97 kB / 414.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3324, allocations: 0 / 414.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001704/0.3326, allocations: 85.47 kB / 414.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3326, allocations: 8 kB / 414.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3326, allocations: 0 / 414.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3327, allocations: 0 / 414.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.3329, allocations: 35.97 kB / 414.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3329, allocations: 0 / 414.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.534e-05/0.333, allocations: 11.98 kB / 414.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.333, allocations: 4 kB / 414.3 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.938e-05/0.3331, allocations: 117.8 kB / 414.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.3331, allocations: 15.84 kB / 414.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.3332, allocations: 8.312 kB / 414.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3332, allocations: 0 / 414.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3332, allocations: 3.984 kB / 414.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.3332, allocations: 4 kB / 414.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.3334, allocations: 201.5 kB / 414.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3334, allocations: 0 / 414.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.3336, allocations: 27.92 kB / 414.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3336, allocations: 0 / 414.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3336, allocations: 4.25 kB / 414.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3336, allocations: 11.88 kB / 414.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3336, allocations: 0 / 414.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.3339, allocations: 195.4 kB / 414.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.334, allocations: 92.98 kB / 415 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.334, allocations: 8.047 kB / 415 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.3341, allocations: 4 kB / 415 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.3341, allocations: 0 / 415 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.3341, allocations: 4 kB / 415 MB, free: 11.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.691e-05/0.3342, allocations: 118.8 kB / 415.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3342, allocations: 0 / 415.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.3345, allocations: 12 kB / 415.1 MB, free: 11.36 MB / 334.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.0001131/0.3346, allocations: 91.25 kB / 415.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.3348, allocations: 55.91 kB / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3348, allocations: 0 / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.799e-05/0.3348, allocations: 27.98 kB / 415.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3352, allocations: 19.92 kB / 415.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006995/0.3359, allocations: 268.8 kB / 415.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3362, allocations: 0.7041 MB / 416.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.296e-05/0.3363, allocations: 7.953 kB / 416.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.3363, allocations: 15.44 kB / 416.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3363, allocations: 0 / 416.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Templates: time 0.003331/0.3397, allocations: 0.9064 MB / 417.2 MB, free: 9.223 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches