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.001199/0.001199, allocations: 108.7 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001187, allocations: 201.8 kB / 18.26 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 67.92 kB / 306.6 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07449/0.07562, allocations: 50.52 MB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003611/0.07928, allocations: 1.754 MB / 358.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.0804, allocations: 0.5533 MB / 359.4 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.08052, allocations: 0 / 359.4 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.08064, allocations: 11.86 kB / 359.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.08086, allocations: 19.86 kB / 359.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.0811, allocations: 51.94 kB / 359.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.08129, allocations: 99.69 kB / 359.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.08143, allocations: 41.09 kB / 359.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.08158, allocations: 39.8 kB / 359.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.096e-05/0.08168, allocations: 47.77 kB / 359.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.08171, allocations: 8 kB / 359.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.802e-05/0.08176, allocations: 8 kB / 359.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.08182, allocations: 19.92 kB / 359.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.08187, allocations: 39.73 kB / 359.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.08203, allocations: 87.92 kB / 359.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.08204, allocations: 7.938 kB / 359.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.08205, allocations: 0 / 359.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.08206, allocations: 3.938 kB / 359.9 MB, free: 11.52 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.0005432/0.08261, allocations: 419 kB / 360.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.08266, allocations: 12.03 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.0827, allocations: 38.73 kB / 360.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.08285, allocations: 24.73 kB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.08307, allocations: 209.4 kB / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.08309, allocations: 4.375 kB / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.08313, allocations: 11.94 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.08332, allocations: 77.66 kB / 360.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.08334, allocations: 0 / 360.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.08335, allocations: 0 / 360.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.08336, allocations: 0 / 360.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.08348, allocations: 47.95 kB / 360.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/0.08407, allocations: 407.9 kB / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.08423, allocations: 58.56 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.011e-05/0.08431, allocations: 36.86 kB / 361.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.08433, allocations: 4 kB / 361.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.08436, allocations: 30.56 kB / 361.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.472e-06/0.08437, allocations: 0 / 361.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003023/0.08468, allocations: 101.5 kB / 361.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.08472, allocations: 51.41 kB / 361.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.08487, allocations: 148.6 kB / 361.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.08489, allocations: 25.7 kB / 361.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.08497, allocations: 120.1 kB / 361.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.085, allocations: 15.8 kB / 361.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.08506, allocations: 17.72 kB / 361.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.0852, allocations: 322.8 kB / 362 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/0.08527, allocations: 23.92 kB / 362 MB, free: 9.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-05/0.08533, allocations: 19.98 kB / 362 MB, free: 9.102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.08545, allocations: 49 kB / 362.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.08546, allocations: 4 kB / 362.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000174/0.08564, allocations: 93.45 kB / 362.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.08567, allocations: 4 kB / 362.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.08568, allocations: 0 / 362.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.0857, allocations: 0 / 362.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.08593, allocations: 47.89 kB / 362.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.08594, allocations: 0 / 362.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.08601, allocations: 11.84 kB / 362.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.08603, allocations: 4 kB / 362.2 MB, free: 8.883 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 9.434e-05/0.08613, allocations: 121.8 kB / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.08617, allocations: 11.84 kB / 362.4 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.08621, allocations: 16.3 kB / 362.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.08622, allocations: 0 / 362.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.08622, allocations: 0 / 362.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.08623, allocations: 0 / 362.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.08643, allocations: 197.9 kB / 362.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.08644, allocations: 7.938 kB / 362.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.08659, allocations: 19.98 kB / 362.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.0866, allocations: 4 kB / 362.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.08662, allocations: 8 kB / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.08663, allocations: 0 / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.08663, allocations: 3.984 kB / 362.6 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.0869, allocations: 195.4 kB / 362.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.08695, allocations: 88.94 kB / 362.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.08698, allocations: 8.031 kB / 362.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.08707, allocations: 4.062 kB / 362.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.08711, allocations: 4 kB / 362.9 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.08713, allocations: 3.984 kB / 362.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.177e-05/0.08721, allocations: 106.6 kB / 363 MB, free: 8.008 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.08722, allocations: 4 kB / 363 MB, free: 8.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.08745, allocations: 19.91 kB / 363.1 MB, free: 7.984 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.0004927/0.08795, allocations: 0.7357 MB / 363.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.08813, allocations: 47.97 kB / 363.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.08814, allocations: 0 / 363.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.202e-05/0.08821, allocations: 31.92 kB / 363.9 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.0886, allocations: 19.97 kB / 363.9 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.09032, allocations: 1.597 MB / 365.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.09057, allocations: 0.7051 MB / 366.2 MB, free: 4.715 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.646e-05/0.09062, allocations: 12.23 kB / 366.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.09069, allocations: 27.44 kB / 366.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.0907, allocations: 0 / 366.2 MB, free: 4.676 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.1099, allocations: 2.174 MB / 368.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.1101, allocations: 182.8 kB / 368.6 MB, free: 2.344 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/1.909, allocations: 0 / 368.6 MB, free: 2.344 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