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: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006967/0.0006967, allocations: 91.91 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007906/0.0007906, allocations: 203.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 227.7 MB / 246.8 MB, free: 11.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001961/0.0001961, allocations: 4 kB / 307.8 MB, free: 0.7539 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07997/0.08018, allocations: 51.52 MB / 359.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.001624/0.08184, allocations: 1.411 MB / 360.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008359/0.0827, allocations: 0.5415 MB / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.08278, allocations: 0 / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.729e-05/0.08287, allocations: 7.922 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.08302, allocations: 23.86 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.08321, allocations: 55.88 kB / 361.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.08336, allocations: 91.7 kB / 361.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.08346, allocations: 37.08 kB / 361.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.08358, allocations: 35.86 kB / 361.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.08367, allocations: 47.7 kB / 361.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.08369, allocations: 0 / 361.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.961e-05/0.08374, allocations: 8 kB / 361.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.08379, allocations: 15.92 kB / 361.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.08384, allocations: 57.45 kB / 361.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.08396, allocations: 79.91 kB / 361.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.08397, allocations: 0 / 361.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.08398, allocations: 0 / 361.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.08399, allocations: 3.938 kB / 361.8 MB, free: 10.8 MB / 302.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.0004845/0.08448, allocations: 407.1 kB / 362.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.08452, allocations: 8.031 kB / 362.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.08457, allocations: 46.67 kB / 362.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.08471, allocations: 16.84 kB / 362.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.08492, allocations: 215.8 kB / 362.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.08494, allocations: 4.375 kB / 362.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.08498, allocations: 19.94 kB / 362.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.08515, allocations: 76.61 kB / 362.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.08517, allocations: 0 / 362.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.08519, allocations: 4 kB / 362.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.0852, allocations: 4 kB / 362.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.08532, allocations: 39.92 kB / 362.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.0859, allocations: 419.8 kB / 363 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.08605, allocations: 58.59 kB / 363 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.08613, allocations: 36.89 kB / 363.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.08615, allocations: 0 / 363.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.08618, allocations: 30.56 kB / 363.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.08618, allocations: 0 / 363.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002802/0.08647, allocations: 113.6 kB / 363.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.08651, allocations: 59.41 kB / 363.3 MB, free: 9.082 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.08663, allocations: 138.4 kB / 363.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.08665, allocations: 25.7 kB / 363.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.08672, allocations: 116.1 kB / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.08674, allocations: 11.8 kB / 363.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.08678, allocations: 21.66 kB / 363.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.0869, allocations: 322.8 kB / 363.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.014e-05/0.08696, allocations: 16 kB / 363.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.373e-05/0.08703, allocations: 31.97 kB / 363.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.08715, allocations: 52.84 kB / 364 MB, free: 8.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.08716, allocations: 0 / 364 MB, free: 8.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001714/0.08734, allocations: 105.4 kB / 364.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.08736, allocations: 4 kB / 364.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.08737, allocations: 8 kB / 364.1 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.08739, allocations: 0 / 364.1 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.0876, allocations: 35.97 kB / 364.1 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.08761, allocations: 0 / 364.1 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.08767, allocations: 11.94 kB / 364.2 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.08769, allocations: 7.984 kB / 364.2 MB, free: 8.141 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 7.494e-05/0.08777, allocations: 117.8 kB / 364.3 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.0878, allocations: 15.84 kB / 364.3 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.08784, allocations: 8.312 kB / 364.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.08784, allocations: 4 kB / 364.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.08785, allocations: 0 / 364.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.08786, allocations: 0 / 364.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.08805, allocations: 197.6 kB / 364.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.08807, allocations: 3.938 kB / 364.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.08821, allocations: 23.97 kB / 364.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.08822, allocations: 0 / 364.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.08824, allocations: 8 kB / 364.5 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.08825, allocations: 4 kB / 364.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.08825, allocations: 0 / 364.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.08852, allocations: 203.4 kB / 364.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.08858, allocations: 88.98 kB / 364.8 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.08861, allocations: 4 kB / 364.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/0.0887, allocations: 12.05 kB / 364.8 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.08873, allocations: 0 / 364.8 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.08874, allocations: 4 kB / 364.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.03e-05/0.08882, allocations: 114.8 kB / 365 MB, free: 7.258 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08882, allocations: 0 / 365 MB, free: 7.258 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.08905, allocations: 19.91 kB / 365 MB, free: 7.238 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.0004926/0.08955, allocations: 0.7398 MB / 365.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.08972, allocations: 55.91 kB / 365.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.08973, allocations: 0 / 365.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.794e-05/0.08981, allocations: 28 kB / 365.8 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.09015, allocations: 23.97 kB / 365.8 MB, free: 6.367 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.09174, allocations: 1.625 MB / 367.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.09196, allocations: 0.7015 MB / 368.1 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.659e-05/0.09202, allocations: 11.98 kB / 368.2 MB, free: 3.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.09208, allocations: 31.42 kB / 368.2 MB, free: 3.883 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.09208, allocations: 0 / 368.2 MB, free: 3.883 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01105/0.1031, allocations: 2.02 MB / 370.2 MB, free: 1.965 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.1034, allocations: 181.5 kB / 370.4 MB, free: 1.711 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/1.695, allocations: 3.625 kB / 370.4 MB, free: 1.711 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.InverseModel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_InverseModel_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_InverseModel.fmu > 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