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.00117/0.00117, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001606/0.002775, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006988/0.0006988, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000872/0.001571, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9172/0.9172, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08402/1.001, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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.303e-06/1.303e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.354e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002419/0.002432, allocations: 1.768 MB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000786/0.003218, allocations: 0.5537 MB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.003288, allocations: 3.938 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.406e-05/0.003342, allocations: 15.86 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.003447, allocations: 23.86 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.003625, allocations: 59.84 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.003775, allocations: 99.64 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.003865, allocations: 29.88 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.004033, allocations: 83.73 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.004107, allocations: 31.91 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.004126, allocations: 4 kB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.088e-05/0.004187, allocations: 15.98 kB / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.004235, allocations: 15.94 kB / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.00427, allocations: 19.94 kB / 247.9 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.004392, allocations: 63.7 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.098e-06/0.004401, allocations: 0 / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004402, allocations: 0 / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.004409, allocations: 0 / 248 MB, free: 10.77 MB / 250.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.0004252/0.004834, allocations: 336 kB / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.004865, allocations: 8.625 kB / 248.3 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.005008, allocations: 94.03 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.005161, allocations: 154.1 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.005169, allocations: 4.375 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.005197, allocations: 20.2 kB / 248.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.0053, allocations: 70.92 kB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.005307, allocations: 3.938 kB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.005315, allocations: 4 kB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.005319, allocations: 4 kB / 248.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.282e-05/0.005352, allocations: 19.08 kB / 248.7 MB, free: 9.996 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.005669, allocations: 218.8 kB / 248.9 MB, free: 9.766 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.256e-05/0.005751, allocations: 42.55 kB / 248.9 MB, free: 9.715 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.005774, allocations: 12.86 kB / 248.9 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.005786, allocations: 0 / 248.9 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.005807, allocations: 34.56 kB / 249 MB, free: 9.656 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 6.71e-07/0.005808, allocations: 3.938 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.000127/0.005935, allocations: 57.67 kB / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.005962, allocations: 51.41 kB / 249.1 MB, free: 9.527 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.00605, allocations: 142 kB / 249.2 MB, free: 9.379 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.00606, allocations: 29.7 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.006108, allocations: 112 kB / 249.4 MB, free: 9.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.006132, allocations: 19.88 kB / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.006168, allocations: 17.72 kB / 249.4 MB, free: 9.188 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.006261, allocations: 330.8 kB / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.006277, allocations: 7.984 kB / 249.7 MB, free: 8.848 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.508e-05/0.006292, allocations: 7.984 kB / 249.7 MB, free: 8.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/0.006335, allocations: 24.78 kB / 249.8 MB, free: 8.812 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.006337, allocations: 0 / 249.8 MB, free: 8.812 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.744e-05/0.006414, allocations: 53.67 kB / 249.8 MB, free: 8.754 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.006428, allocations: 8 kB / 249.8 MB, free: 8.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.006432, allocations: 4 kB / 249.8 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.00644, allocations: 0 / 249.8 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.006671, allocations: 55.88 kB / 249.9 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.006675, allocations: 4 kB / 249.9 MB, free: 8.684 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.006697, allocations: 7.953 kB / 249.9 MB, free: 8.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.006702, allocations: 0 / 249.9 MB, free: 8.676 MB / 250.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 5.184e-05/0.006754, allocations: 116.6 kB / 250 MB, free: 8.551 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.00677, allocations: 7.984 kB / 250 MB, free: 8.543 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.006791, allocations: 16.47 kB / 250 MB, free: 8.527 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.006792, allocations: 0 / 250 MB, free: 8.527 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.006795, allocations: 7.875 kB / 250 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.006798, allocations: 3.984 kB / 250.1 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.949e-05/0.006888, allocations: 93.8 kB / 250.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.006888, allocations: 0 / 250.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.006966, allocations: 27.97 kB / 250.2 MB, free: 8.379 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.006976, allocations: 7.953 kB / 250.2 MB, free: 8.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006978, allocations: 0 / 250.2 MB, free: 8.371 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.006986, allocations: 7.984 kB / 250.2 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.006989, allocations: 4 kB / 250.2 MB, free: 8.359 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.006991, allocations: 4.188 kB / 250.2 MB, free: 8.355 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.007103, allocations: 163.5 kB / 250.4 MB, free: 8.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.007113, allocations: 0 / 250.4 MB, free: 8.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.007149, allocations: 8 kB / 250.4 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.007167, allocations: 3.984 kB / 250.4 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.007171, allocations: 3.938 kB / 250.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.291e-05/0.007194, allocations: 24.84 kB / 250.4 MB, free: 8.137 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007194, allocations: 0 / 250.4 MB, free: 8.137 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001157/0.007309, allocations: 19.95 kB / 250.4 MB, free: 8.117 MB / 250.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 5.934e-05/0.007369, allocations: 80.44 kB / 250.5 MB, free: 8.027 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.396e-05/0.007433, allocations: 28.84 kB / 250.5 MB, free: 7.996 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.007437, allocations: 0 / 250.5 MB, free: 7.996 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.736e-05/0.007465, allocations: 32.72 kB / 250.6 MB, free: 7.961 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.007657, allocations: 194 kB / 250.7 MB, free: 7.738 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.008343, allocations: 255.5 kB / 251 MB, free: 7.457 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.938e-05/0.008383, allocations: 71.33 kB / 251.1 MB, free: 7.367 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.8e-05/0.008411, allocations: 4.5 kB / 251.1 MB, free: 7.363 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.008472, allocations: 63.36 kB / 251.1 MB, free: 7.301 MB / 250.7 MB Notification: Performance of SimCode: time 3.9e-07/0.008472, allocations: 0 / 251.1 MB, free: 7.301 MB / 250.7 MB Notification: Performance of Templates: time 0.002532/0.011, allocations: 1.259 MB / 252.4 MB, free: 6.062 MB / 250.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.258038990199566]