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.001278/0.001278, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002622/0.002622, allocations: 67.88 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2654, allocations: 50.55 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002967/0.2684, allocations: 1.706 MB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2696, allocations: 0.5415 MB / 411.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.741e-05/0.2697, allocations: 4 kB / 411.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.907e-05/0.2698, allocations: 15.81 kB / 411.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.27, allocations: 23.8 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.2702, allocations: 59.86 kB / 411.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.2704, allocations: 103.7 kB / 411.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2705, allocations: 25.11 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.2706, allocations: 47.8 kB / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.2708, allocations: 47.75 kB / 411.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.2708, allocations: 8 kB / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.903e-05/0.2708, allocations: 12 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.2709, allocations: 19.92 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.271, allocations: 43.67 kB / 411.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.2711, allocations: 90.67 kB / 411.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2712, allocations: 0 / 411.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2712, allocations: 0 / 411.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2712, allocations: 0 / 411.6 MB, free: 14.78 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.0006283/0.2718, allocations: 419 kB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2719, allocations: 12.03 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.379e-05/0.2719, allocations: 34.69 kB / 412 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.2721, allocations: 28.83 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.2724, allocations: 208.3 kB / 412.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2724, allocations: 4.375 kB / 412.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.2725, allocations: 19.88 kB / 412.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.2727, allocations: 77.61 kB / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2727, allocations: 0 / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2727, allocations: 0 / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.2727, allocations: 7.984 kB / 412.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.2729, allocations: 43.92 kB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.2735, allocations: 415.9 kB / 412.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.2737, allocations: 58.59 kB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.952e-05/0.2737, allocations: 28.88 kB / 412.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.2738, allocations: 4 kB / 412.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.2738, allocations: 34.56 kB / 412.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.2738, allocations: 3.938 kB / 412.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002955/0.2741, allocations: 101.5 kB / 413 MB, free: 13.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.2742, allocations: 51.41 kB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.2743, allocations: 146.4 kB / 413.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.2744, allocations: 29.7 kB / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.2744, allocations: 104.1 kB / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.2745, allocations: 31.91 kB / 413.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.2745, allocations: 17.72 kB / 413.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.2747, allocations: 322.8 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.418e-05/0.2748, allocations: 19.98 kB / 413.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.278e-05/0.2749, allocations: 20 kB / 413.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.275, allocations: 48.98 kB / 413.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.275, allocations: 0 / 413.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001776/0.2752, allocations: 93.5 kB / 413.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2752, allocations: 8 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2752, allocations: 0 / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2752, allocations: 4 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.2755, allocations: 35.97 kB / 413.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2755, allocations: 0 / 413.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.2755, allocations: 11.95 kB / 413.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2756, allocations: 3.984 kB / 414 MB, free: 12.12 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.287e-05/0.2757, allocations: 113.8 kB / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.2757, allocations: 11.89 kB / 414.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.2757, allocations: 12.31 kB / 414.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2757, allocations: 4 kB / 414.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2758, allocations: 0 / 414.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2758, allocations: 0 / 414.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.276, allocations: 201.5 kB / 414.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.276, allocations: 7.938 kB / 414.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.2762, allocations: 23.97 kB / 414.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2762, allocations: 0 / 414.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2762, allocations: 7.938 kB / 414.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2762, allocations: 0 / 414.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2762, allocations: 256 / 414.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.2765, allocations: 203.5 kB / 414.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.2766, allocations: 96.92 kB / 414.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.2766, allocations: 7.938 kB / 414.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.2767, allocations: 7.984 kB / 414.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.2767, allocations: 0 / 414.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.2768, allocations: 0 / 414.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.621e-05/0.2768, allocations: 118.2 kB / 414.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2769, allocations: 4 kB / 414.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.2772, allocations: 16 kB / 414.8 MB, free: 11.21 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.0006575/0.2778, allocations: 0.7241 MB / 415.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.278, allocations: 55.97 kB / 415.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.278, allocations: 0 / 415.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.298e-05/0.2781, allocations: 23.98 kB / 415.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2784, allocations: 19.98 kB / 415.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.2803, allocations: 1.574 MB / 417.2 MB, free: 8.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.2807, allocations: 0.7041 MB / 417.9 MB, free: 7.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.514e-05/0.2807, allocations: 7.984 kB / 417.9 MB, free: 7.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.2808, allocations: 31.42 kB / 417.9 MB, free: 7.941 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2808, allocations: 0 / 417.9 MB, free: 7.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0544/0.3352, allocations: 2.324 MB / 420.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/8.617, allocations: 11.83 kB / 420.2 MB, free: 5.668 MB / 334.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.1.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