Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.0009516/0.0009516, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.000875/0.000875, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.8829/0.8829, allocations: 177 MB / 204.8 MB, free: 5.605 MB / 186.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.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.164e-05, allocations: 2.312 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002036/0.002057, allocations: 1.637 MB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000717/0.002774, allocations: 0.5258 MB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.002851, allocations: 7.938 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.132e-05/0.002902, allocations: 7.922 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.003043, allocations: 11.88 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.003325, allocations: 55.81 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.003422, allocations: 43.8 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.003523, allocations: 11.97 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.003648, allocations: 35.86 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.91e-05/0.003698, allocations: 19.91 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.003717, allocations: 4 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.222e-05/0.003759, allocations: 4 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.003805, allocations: 19.92 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.003838, allocations: 8 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.003977, allocations: 43.83 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003979, allocations: 0 / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003979, allocations: 0 / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.003985, allocations: 7.922 kB / 275.4 MB, free: 15.01 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004735/0.004459, allocations: 408.2 kB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.004493, allocations: 11.98 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.004606, allocations: 20.89 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.00476, allocations: 153.2 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.004769, allocations: 384 / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.004779, allocations: 4.375 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.004987, allocations: 133.5 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.004995, allocations: 192 / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.005004, allocations: 384 / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.005018, allocations: 3.938 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.00504, allocations: 15.98 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.005264, allocations: 267.5 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.005387, allocations: 70.11 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.005417, allocations: 23.44 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.005435, allocations: 0 / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.005454, allocations: 45.27 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.005455, allocations: 4 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001399/0.005595, allocations: 53.64 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.005639, allocations: 89.16 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.005728, allocations: 197.2 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.005736, allocations: 25.7 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.005783, allocations: 134.9 kB / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.005797, allocations: 3.953 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.005823, allocations: 27.36 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.005927, allocations: 496.1 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.005937, allocations: 0 / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.005944, allocations: 4 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.005973, allocations: 7.688 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005975, allocations: 4.062 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.961e-05/0.006024, allocations: 49.58 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.006037, allocations: 7.938 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.006043, allocations: 0 / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.006059, allocations: 0 / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.624e-05/0.006105, allocations: 4 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.006111, allocations: 0 / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.335e-05/0.006125, allocations: 0 / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.006131, allocations: 7.984 kB / 277.6 MB, free: 12.54 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 (1): * Single equations (assignments): 1 * 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 6.041e-05/0.006191, allocations: 152.6 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.006233, allocations: 57.8 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.006265, allocations: 16.33 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.006267, allocations: 0 / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.006272, allocations: 0 / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.006275, allocations: 0 / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.558e-05/0.006371, allocations: 132.6 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.006372, allocations: 0 / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.006396, allocations: 11.98 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.006397, allocations: 0 / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.006406, allocations: 7.938 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.006406, allocations: 0 / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.00641, allocations: 8 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.475e-05/0.006505, allocations: 203.6 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.006532, allocations: 19.94 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.006542, allocations: 3.938 kB / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.832e-05/0.00657, allocations: 0 / 278.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.006601, allocations: 11.92 kB / 278.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.006603, allocations: 0 / 278.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.3e-05/0.006646, allocations: 139.2 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006646, allocations: 0 / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000134/0.00678, allocations: 12 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * 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 6.233e-05/0.006843, allocations: 95.25 kB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.398e-05/0.006917, allocations: 23.61 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.006919, allocations: 0 / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.00693, allocations: 7.688 kB / 278.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.007156, allocations: 28.23 kB / 278.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.007616, allocations: 180.5 kB / 278.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.053e-05/0.007657, allocations: 67.47 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.012e-05/0.007677, allocations: 0 / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.007707, allocations: 12.5 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007708, allocations: 0 / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Templates: time 0.002292/0.01, allocations: 0.5469 MB / 279.3 MB, free: 10.68 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.871910653077066]