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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001845/0.001845, allocations: 103.5 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00191/0.00191, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 177 MB / 204.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 178] 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=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 272.2 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.51e-05/3.678e-05, allocations: 2.312 kB / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003299/0.003336, allocations: 1.684 MB / 273.9 MB, free: 148 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.004558, allocations: 0.5336 MB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.046e-05/0.004649, allocations: 3.938 kB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.004772, allocations: 11.86 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.00499, allocations: 27.78 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.005259, allocations: 63.8 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.005474, allocations: 107.7 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.005581, allocations: 25.23 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.005757, allocations: 59.81 kB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.005848, allocations: 31.89 kB / 274.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.005875, allocations: 8 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.263e-05/0.005928, allocations: 12 kB / 274.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.005989, allocations: 15.92 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.006043, allocations: 31.91 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.006247, allocations: 95.56 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.00625, allocations: 4 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006252, allocations: 0 / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.006265, allocations: 0 / 274.9 MB, free: 15.12 MB / 266.7 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.0006885/0.006954, allocations: 431.8 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.006997, allocations: 15.98 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.007164, allocations: 28.83 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.00744, allocations: 160.9 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.007454, allocations: 8.375 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.007483, allocations: 8.375 kB / 275.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.007662, allocations: 77.03 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.007675, allocations: 3.938 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.007685, allocations: 4 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.007691, allocations: 4 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.007797, allocations: 31.98 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.008409, allocations: 355.5 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.008589, allocations: 74.95 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.283e-05/0.008662, allocations: 31.7 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.008683, allocations: 4 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.008719, allocations: 33.39 kB / 276.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.00872, allocations: 0 / 276.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003168/0.009036, allocations: 93.62 kB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.009083, allocations: 51.41 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.009307, allocations: 217.2 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.009329, allocations: 25.7 kB / 276.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.009452, allocations: 170.8 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.009485, allocations: 23.86 kB / 276.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.009536, allocations: 23.38 kB / 276.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002788/0.009815, allocations: 0.4962 MB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-05/0.00988, allocations: 19.98 kB / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.751e-05/0.009928, allocations: 19.98 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.01004, allocations: 43.67 kB / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.01005, allocations: 4 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001855/0.01023, allocations: 81.64 kB / 277.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.01025, allocations: 8 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.01025, allocations: 0 / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.01027, allocations: 7.984 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.01049, allocations: 39.86 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.0105, allocations: 3.984 kB / 277.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.01055, allocations: 7.953 kB / 277.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.01056, allocations: 0 / 277.5 MB, free: 12.35 MB / 266.7 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 0.0001275/0.01069, allocations: 160.6 kB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.01072, allocations: 11.95 kB / 277.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.01076, allocations: 12.47 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01076, allocations: 0 / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.01077, allocations: 7.938 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.01077, allocations: 3.984 kB / 277.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.01099, allocations: 156.5 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01099, allocations: 0 / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.01114, allocations: 19.98 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01114, allocations: 0 / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.01115, allocations: 0 / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01115, allocations: 4.188 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01116, allocations: 0 / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.0115, allocations: 263.7 kB / 278.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.01153, allocations: 15.94 kB / 278.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.01155, allocations: 4 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.01163, allocations: 0 / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.01167, allocations: 7.922 kB / 278.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.01167, allocations: 4 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000123/0.01179, allocations: 155.2 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01179, allocations: 0 / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.01203, allocations: 12 kB / 278.3 MB, free: 11.47 MB / 266.7 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.0001178/0.01214, allocations: 91.23 kB / 278.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.01232, allocations: 63.83 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.01233, allocations: 4 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.692e-05/0.0124, allocations: 27.67 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.01272, allocations: 27.61 kB / 278.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.01338, allocations: 266.2 kB / 278.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.01348, allocations: 89.31 kB / 278.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.385e-05/0.01353, allocations: 4 kB / 278.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.01357, allocations: 16.48 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01357, allocations: 0 / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Templates: time 0.004271/0.01784, allocations: 0.9653 MB / 279.8 MB, free: 9.871 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.419507891056128]