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: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001357, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.3 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 64.48 kB / 306.9 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08943/0.09068, allocations: 50.54 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003304/0.09403, allocations: 1.751 MB / 359.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.09516, allocations: 0.5533 MB / 359.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.443e-05/0.09527, allocations: 4 kB / 359.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.09539, allocations: 7.875 kB / 359.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.09562, allocations: 23.84 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.09582, allocations: 47.94 kB / 359.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.09598, allocations: 91.7 kB / 359.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.0961, allocations: 33.09 kB / 359.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.09624, allocations: 51.78 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.046e-05/0.09633, allocations: 39.78 kB / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.09636, allocations: 4 kB / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.668e-05/0.09641, allocations: 7.984 kB / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.09647, allocations: 19.92 kB / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.09653, allocations: 43.73 kB / 360.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.09664, allocations: 64.06 kB / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.09665, allocations: 0 / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.09666, allocations: 0 / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.09667, allocations: 0 / 360.2 MB, free: 11.75 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.0005717/0.09724, allocations: 415 kB / 360.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.09729, allocations: 12.03 kB / 360.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.09746, allocations: 32.73 kB / 360.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.09769, allocations: 197.6 kB / 360.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.0977, allocations: 4.375 kB / 360.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.09775, allocations: 12.12 kB / 360.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.09794, allocations: 88.11 kB / 360.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.09796, allocations: 0 / 360.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.09797, allocations: 0 / 360.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.09799, allocations: 4 kB / 360.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.09811, allocations: 47.97 kB / 361 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.09869, allocations: 400 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.09885, allocations: 62.62 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.496e-05/0.09893, allocations: 24.86 kB / 361.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.09896, allocations: 7.922 kB / 361.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.099, allocations: 42.5 kB / 361.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.09901, allocations: 0 / 361.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002855/0.0993, allocations: 97.42 kB / 361.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.09934, allocations: 55.41 kB / 361.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.09947, allocations: 156.5 kB / 361.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.09949, allocations: 25.7 kB / 361.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.09956, allocations: 108.1 kB / 361.9 MB, free: 9.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.09959, allocations: 19.8 kB / 361.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.09964, allocations: 21.7 kB / 361.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.09975, allocations: 318.8 kB / 362.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.09983, allocations: 19.92 kB / 362.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.0999, allocations: 23.98 kB / 362.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.1, allocations: 52.78 kB / 362.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1, allocations: 0 / 362.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001676/0.1002, allocations: 89.52 kB / 362.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1002, allocations: 8 kB / 362.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1002, allocations: 0 / 362.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1002, allocations: 0 / 362.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.1005, allocations: 36.22 kB / 362.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1005, allocations: 0 / 362.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.1006, allocations: 19.84 kB / 362.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1006, allocations: 4 kB / 362.5 MB, free: 9.156 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 8.582e-05/0.1007, allocations: 121.7 kB / 362.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.1007, allocations: 11.84 kB / 362.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.1007, allocations: 16.3 kB / 362.7 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1007, allocations: 0 / 362.7 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1007, allocations: 0 / 362.7 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.1008, allocations: 4 kB / 362.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.101, allocations: 197.6 kB / 362.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.101, allocations: 4 kB / 362.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.1011, allocations: 23.92 kB / 362.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1011, allocations: 3.984 kB / 362.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1011, allocations: 0 / 362.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1012, allocations: 0 / 362.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1012, allocations: 0 / 362.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1014, allocations: 203.4 kB / 363.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.1015, allocations: 97.03 kB / 363.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1015, allocations: 4 kB / 363.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.1016, allocations: 4 kB / 363.2 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.1017, allocations: 3.984 kB / 363.2 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1017, allocations: 0 / 363.2 MB, free: 8.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.149e-05/0.1017, allocations: 114.8 kB / 363.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1018, allocations: 0 / 363.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.102, allocations: 19.91 kB / 363.3 MB, free: 8.254 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.0001074/0.1021, allocations: 99.23 kB / 363.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.1023, allocations: 44.22 kB / 363.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1023, allocations: 3.938 kB / 363.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.584e-05/0.1023, allocations: 27.92 kB / 363.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1027, allocations: 23.92 kB / 363.5 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.1033, allocations: 312.6 kB / 363.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1036, allocations: 0.7054 MB / 364.5 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.1036, allocations: 11.44 kB / 364.5 MB, free: 6.969 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1036, allocations: 0 / 364.5 MB, free: 6.969 MB / 302.1 MB Notification: Performance of Templates: time 0.002513/0.1061, allocations: 1.203 MB / 365.7 MB, free: 5.762 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.makefile (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 & ./Modelica_trunk_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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