Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.0012, allocations: 105.8 kB / 16.92 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 191.3 kB / 17.85 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 45.39 kB / 300.7 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07895/0.08012, allocations: 49.44 MB / 350.1 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002937/0.08309, allocations: 1.68 MB / 351.8 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007978/0.08391, allocations: 496.2 kB / 352.3 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.399e-05/0.08402, allocations: 4 kB / 352.3 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.51e-05/0.08413, allocations: 7.875 kB / 352.3 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.0843, allocations: 23.78 kB / 352.3 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.08447, allocations: 47.88 kB / 352.4 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.08463, allocations: 99.69 kB / 352.5 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.08475, allocations: 36.97 kB / 352.5 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.08484, allocations: 39.78 kB / 352.6 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/0.08494, allocations: 43.78 kB / 352.6 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.08497, allocations: 11.94 kB / 352.6 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.77e-05/0.08499, allocations: 8 kB / 352.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.08505, allocations: 19.92 kB / 352.6 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.108e-05/0.08511, allocations: 43.73 kB / 352.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.08523, allocations: 87.92 kB / 352.8 MB, free: 1.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.08524, allocations: 0 / 352.8 MB, free: 1.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.08525, allocations: 0 / 352.8 MB, free: 1.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.08526, allocations: 0 / 352.8 MB, free: 1.707 MB / 286.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.0004969/0.08576, allocations: 403 kB / 353.2 MB, free: 1.266 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.0858, allocations: 12.03 kB / 353.2 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.08584, allocations: 34.75 kB / 353.2 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.08588, allocations: 24.73 kB / 353.2 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.08608, allocations: 216.4 kB / 353.5 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.0861, allocations: 4 kB / 353.5 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.08613, allocations: 11.91 kB / 353.5 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.0863, allocations: 73.67 kB / 353.5 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.08632, allocations: 3.984 kB / 353.5 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.08634, allocations: 0 / 353.5 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.08635, allocations: 4 kB / 353.5 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.08647, allocations: 39.92 kB / 353.6 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.08698, allocations: 404 kB / 354 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.08714, allocations: 62.53 kB / 354 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.08721, allocations: 28.89 kB / 354.1 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.08724, allocations: 4 kB / 354.1 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.08726, allocations: 34.5 kB / 354.1 MB, free: 196 kB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.08727, allocations: 0 / 354.1 MB, free: 196 kB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002617/0.08754, allocations: 101.5 kB / 354.2 MB, free: 88 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.08758, allocations: 55.39 kB / 354.3 MB, free: 20 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.0877, allocations: 139.4 kB / 354.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.08772, allocations: 29.64 kB / 354.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.08778, allocations: 116.1 kB / 354.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.08781, allocations: 15.72 kB / 354.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.08785, allocations: 21.7 kB / 354.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.08795, allocations: 322.8 kB / 354.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-05/0.08801, allocations: 16 kB / 354.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.982e-05/0.08807, allocations: 27.88 kB / 354.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.08819, allocations: 53.09 kB / 355 MB, free: 15.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.0882, allocations: 3.938 kB / 355 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001625/0.08837, allocations: 93.52 kB / 355.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.08839, allocations: 4 kB / 355.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.0884, allocations: 0 / 355.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.08841, allocations: 0 / 355.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.08864, allocations: 39.97 kB / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.08865, allocations: 4 kB / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.365e-05/0.08871, allocations: 3.938 kB / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.08873, allocations: 8 kB / 355.1 MB, free: 15.1 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.385e-05/0.08881, allocations: 121.8 kB / 355.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.08885, allocations: 7.906 kB / 355.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.08888, allocations: 8.312 kB / 355.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.08888, allocations: 0 / 355.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.0889, allocations: 4 kB / 355.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.0889, allocations: 0 / 355.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.08909, allocations: 201.5 kB / 355.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.0891, allocations: 0 / 355.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.08926, allocations: 39.84 kB / 355.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.08927, allocations: 0 / 355.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.08929, allocations: 3.984 kB / 355.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.08929, allocations: 0 / 355.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0893, allocations: 0 / 355.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.08956, allocations: 199.4 kB / 355.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.08961, allocations: 89.05 kB / 355.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.08964, allocations: 4.062 kB / 355.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.08972, allocations: 4 kB / 355.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.08976, allocations: 3.984 kB / 355.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.08977, allocations: 4 kB / 355.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.911e-05/0.08985, allocations: 116.9 kB / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08985, allocations: 0 / 355.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.09009, allocations: 12 kB / 355.9 MB, free: 14.2 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.0004673/0.09057, allocations: 0.7397 MB / 356.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.09074, allocations: 51.92 kB / 356.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.09075, allocations: 0 / 356.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.204e-05/0.09082, allocations: 23.98 kB / 356.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.09118, allocations: 25.42 kB / 356.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.09276, allocations: 1.559 MB / 358.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.09299, allocations: 0.7041 MB / 359 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.118e-05/0.09304, allocations: 7.984 kB / 359.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.0931, allocations: 31.42 kB / 359.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.0931, allocations: 0 / 359.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.175/1.268, allocations: 2.242 MB / 361.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.51, allocations: 6.734 kB / 361.3 MB, free: 8.734 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_InverseModel_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_InverseModel.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches