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: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 105.2 kB / 16.62 MB, free: 6.809 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.002003/0.002003, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.432/1.432, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 41.48 kB / 300.1 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09278/0.09386, allocations: 49.45 MB / 349.6 MB, free: 4.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003175/0.09707, allocations: 1.735 MB / 351.3 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008573/0.09796, allocations: 490.8 kB / 351.8 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.315e-05/0.09807, allocations: 3.938 kB / 351.8 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.09819, allocations: 7.938 kB / 351.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.0984, allocations: 15.86 kB / 351.8 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.09856, allocations: 43.95 kB / 351.8 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.09875, allocations: 103.6 kB / 351.9 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.09887, allocations: 37.09 kB / 352 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.09896, allocations: 43.78 kB / 352 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.09905, allocations: 43.77 kB / 352.1 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.09907, allocations: 11.94 kB / 352.1 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.0991, allocations: 12 kB / 352.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.09916, allocations: 15.92 kB / 352.1 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.09921, allocations: 43.73 kB / 352.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.09933, allocations: 83.92 kB / 352.2 MB, free: 1.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.09934, allocations: 3.938 kB / 352.2 MB, free: 1.859 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09935, allocations: 0 / 352.2 MB, free: 1.859 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.09936, allocations: 0 / 352.2 MB, free: 1.859 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.0004964/0.09986, allocations: 403 kB / 352.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.0999, allocations: 16.03 kB / 352.6 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.09994, allocations: 12.75 kB / 352.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.1001, allocations: 196.8 kB / 352.9 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1002, allocations: 15.88 kB / 352.9 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.1002, allocations: 11.91 kB / 352.9 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1004, allocations: 73.66 kB / 353 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1004, allocations: 8 kB / 353 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1004, allocations: 4 kB / 353 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1004, allocations: 0 / 353 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.1005, allocations: 39.98 kB / 353 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.1011, allocations: 407.9 kB / 353.4 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1013, allocations: 54.59 kB / 353.5 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.321e-05/0.1013, allocations: 36.89 kB / 353.5 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.1014, allocations: 11.86 kB / 353.5 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1014, allocations: 34.5 kB / 353.5 MB, free: 396 kB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1014, allocations: 0 / 353.5 MB, free: 396 kB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002551/0.1017, allocations: 93.56 kB / 353.6 MB, free: 296 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.1017, allocations: 55.41 kB / 353.7 MB, free: 228 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1018, allocations: 143.3 kB / 353.8 MB, free: 76 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1019, allocations: 29.7 kB / 353.8 MB, free: 40 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.1019, allocations: 108.1 kB / 354 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.102, allocations: 23.7 kB / 354 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.102, allocations: 21.66 kB / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.1021, allocations: 318.8 kB / 354.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.1022, allocations: 19.98 kB / 354.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.931e-05/0.1022, allocations: 23.94 kB / 354.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1023, allocations: 48.84 kB / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1024, allocations: 0 / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001554/0.1025, allocations: 93.5 kB / 354.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1025, allocations: 4 kB / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.1025, allocations: 4 kB / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1026, allocations: 0 / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.1028, allocations: 35.97 kB / 354.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1028, allocations: 3.938 kB / 354.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.74e-05/0.1029, allocations: 15.94 kB / 354.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1029, allocations: 3.984 kB / 354.6 MB, free: 15.3 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.392e-05/0.1029, allocations: 117.8 kB / 354.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.103, allocations: 7.906 kB / 354.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.103, allocations: 12.31 kB / 354.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.103, allocations: 0 / 354.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.103, allocations: 0 / 354.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.103, allocations: 0 / 354.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.1032, allocations: 197.6 kB / 354.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1032, allocations: 4 kB / 354.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.1034, allocations: 23.97 kB / 354.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1034, allocations: 4 kB / 354.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1034, allocations: 4 kB / 354.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1034, allocations: 256 / 354.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1034, allocations: 4 kB / 354.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.1037, allocations: 211.2 kB / 355.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.1037, allocations: 81.02 kB / 355.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1038, allocations: 8.031 kB / 355.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.1039, allocations: 3.984 kB / 355.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.1039, allocations: 4 kB / 355.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1039, allocations: 0 / 355.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.145e-05/0.104, allocations: 112.5 kB / 355.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.104, allocations: 0 / 355.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.1043, allocations: 20 kB / 355.4 MB, free: 14.41 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 8.707e-05/0.1044, allocations: 103.2 kB / 355.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.1045, allocations: 52.14 kB / 355.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1046, allocations: 0 / 355.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.877e-05/0.1046, allocations: 23.98 kB / 355.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.105, allocations: 23.92 kB / 355.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.1055, allocations: 297.5 kB / 355.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1058, allocations: 0.7079 MB / 356.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.17e-05/0.1058, allocations: 3.984 kB / 356.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.1059, allocations: 11.44 kB / 356.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1059, allocations: 0 / 356.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of Templates: time 0.002877/0.1087, allocations: 0.8679 MB / 357.4 MB, free: 12.27 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile (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 & ./Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches