Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.155/2.155, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 51.91 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3513, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.004231/0.3555, allocations: 1.559 MB / 433.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3569, allocations: 0.5337 MB / 434.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/0.357, allocations: 0 / 434.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.627e-05/0.3571, allocations: 7.938 kB / 434.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.3572, allocations: 19.84 kB / 434.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.3576, allocations: 59.81 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.3577, allocations: 43.8 kB / 434.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3578, allocations: 16.16 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.3579, allocations: 27.88 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.358, allocations: 23.86 kB / 434.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.358, allocations: 4 kB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.14e-05/0.3581, allocations: 7.984 kB / 434.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.3581, allocations: 11.94 kB / 434.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.3582, allocations: 27.84 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.3584, allocations: 61.38 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3584, allocations: 0 / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3584, allocations: 0 / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3584, allocations: 0 / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000573/0.359, allocations: 309.9 kB / 435 MB, free: 3.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.359, allocations: 8.031 kB / 435 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.3592, allocations: 16.88 kB / 435.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.3595, allocations: 148.9 kB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3595, allocations: 384 / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.3595, allocations: 8.359 kB / 435.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.3598, allocations: 113.1 kB / 435.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3599, allocations: 0 / 435.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3599, allocations: 4 kB / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3599, allocations: 4 kB / 435.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.36, allocations: 19.92 kB / 435.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.3603, allocations: 209.4 kB / 435.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.3604, allocations: 53.08 kB / 435.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/0.3605, allocations: 17.78 kB / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.3605, allocations: 3.984 kB / 435.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.3605, allocations: 30.56 kB / 435.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3605, allocations: 0 / 435.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003006/0.3608, allocations: 77.78 kB / 435.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.3609, allocations: 77.11 kB / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.3611, allocations: 141.8 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3611, allocations: 25.7 kB / 436 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.3612, allocations: 92.12 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.3612, allocations: 7.953 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.3612, allocations: 13.72 kB / 436.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3614, allocations: 314.8 kB / 436.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.3615, allocations: 7.984 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/0.3615, allocations: 21.75 kB / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.3616, allocations: 33.64 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.3616, allocations: 3.938 kB / 436.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001569/0.3618, allocations: 61.56 kB / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3618, allocations: 4 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3618, allocations: 4 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3618, allocations: 4 kB / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.3619, allocations: 12.06 kB / 436.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3619, allocations: 0 / 436.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.362, allocations: 7.984 kB / 436.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.362, allocations: 0 / 436.5 MB, free: 2.262 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001167/0.3621, allocations: 117.8 kB / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.3622, allocations: 45.64 kB / 436.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.3622, allocations: 11.77 kB / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3622, allocations: 0 / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3622, allocations: 0 / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3622, allocations: 0 / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.3624, allocations: 129.2 kB / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3624, allocations: 0 / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.3625, allocations: 7.984 kB / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3625, allocations: 0 / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3625, allocations: 0 / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3625, allocations: 4 kB / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3625, allocations: 0 / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.3627, allocations: 164.3 kB / 437 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.3628, allocations: 7.953 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.3628, allocations: 12.02 kB / 437 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.3629, allocations: 0 / 437 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.3629, allocations: 0 / 437 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3629, allocations: 8 kB / 437 MB, free: 1.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.363, allocations: 113.9 kB / 437.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.363, allocations: 0 / 437.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003339/0.3634, allocations: 4 kB / 437.2 MB, free: 1.586 MB / 334.1 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 (2): * Single equations (assignments): 2 * 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.0001274/0.3635, allocations: 95.25 kB / 437.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.3637, allocations: 23.98 kB / 437.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3637, allocations: 3.938 kB / 437.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/0.3637, allocations: 11.98 kB / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.3642, allocations: 19.91 kB / 437.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.3646, allocations: 159.8 kB / 437.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.3647, allocations: 75.33 kB / 437.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.976e-05/0.3648, allocations: 12.25 kB / 437.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.3648, allocations: 11.44 kB / 437.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3648, allocations: 0 / 437.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of Templates: time 0.004294/0.3691, allocations: 0.6076 MB / 438.2 MB, free: 0.5234 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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: 5.758113030999084]