Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.002063/0.002063, allocations: 111.8 kB / 20.43 MB, free: 1.309 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.002814/0.002814, allocations: 214.3 kB / 23.75 MB, free: 4.535 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 1.704/1.704, allocations: 230.6 MB / 257.5 MB, free: 7.953 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 55.91 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3202, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003176/0.3234, allocations: 1.532 MB / 433.1 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004218/0.3238, allocations: 135.5 kB / 433.3 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.3239, allocations: 0 / 433.3 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.417e-05/0.3239, allocations: 7.938 kB / 433.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.3241, allocations: 11.94 kB / 433.3 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.3243, allocations: 38.27 kB / 433.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.821e-05/0.3244, allocations: 31.86 kB / 433.4 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3245, allocations: 4 kB / 433.4 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.137e-05/0.3246, allocations: 19.86 kB / 433.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.3246, allocations: 15.92 kB / 433.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3246, allocations: 0 / 433.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.3246, allocations: 4 kB / 433.4 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.3247, allocations: 19.86 kB / 433.4 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.3247, allocations: 15.88 kB / 433.4 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.3249, allocations: 45.03 kB / 433.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3249, allocations: 0 / 433.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.3249, allocations: 4 kB / 433.5 MB, free: 5.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3249, allocations: 3.984 kB / 433.5 MB, free: 5.043 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005019/0.3254, allocations: 274.1 kB / 433.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3254, allocations: 16.02 kB / 433.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.3255, allocations: 8.891 kB / 433.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.3257, allocations: 134.4 kB / 433.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3257, allocations: 384 / 433.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.3257, allocations: 8.375 kB / 433.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.326, allocations: 89.61 kB / 434 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.326, allocations: 192 / 434 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.326, allocations: 3.938 kB / 434 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.326, allocations: 0 / 434 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.691e-05/0.3261, allocations: 27.92 kB / 434 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.3265, allocations: 220.9 kB / 434.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.3266, allocations: 53.08 kB / 434.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.3266, allocations: 17.78 kB / 434.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3266, allocations: 0 / 434.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.3267, allocations: 38.56 kB / 434.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3267, allocations: 0 / 434.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002395/0.3269, allocations: 61.61 kB / 434.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.327, allocations: 81.36 kB / 434.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3271, allocations: 140.3 kB / 434.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3271, allocations: 25.7 kB / 434.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.3272, allocations: 92.06 kB / 434.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.3272, allocations: 0 / 434.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.3273, allocations: 13.72 kB / 434.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3274, allocations: 318.8 kB / 435.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/0.3275, allocations: 7.984 kB / 435.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.3275, allocations: 17.72 kB / 435.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.3276, allocations: 25.7 kB / 435.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3276, allocations: 4 kB / 435.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.3277, allocations: 57.61 kB / 435.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3277, allocations: 12.03 kB / 435.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3277, allocations: 3.984 kB / 435.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3277, allocations: 0 / 435.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.729e-05/0.3278, allocations: 4 kB / 435.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3278, allocations: 0 / 435.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.3278, allocations: 11.88 kB / 435.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.3278, allocations: 0 / 435.2 MB, free: 3.078 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: 2 (step.y,sample1.y) * 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.0001003/0.3279, allocations: 121.8 kB / 435.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.328, allocations: 45.59 kB / 435.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.328, allocations: 19.77 kB / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.328, allocations: 0 / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.328, allocations: 0 / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.3281, allocations: 7.969 kB / 435.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3282, allocations: 132.7 kB / 435.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3282, allocations: 4 kB / 435.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.3283, allocations: 7.984 kB / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3283, allocations: 0 / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.3283, allocations: 0 / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3283, allocations: 0 / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3283, allocations: 8.031 kB / 435.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.3285, allocations: 156.3 kB / 435.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.3285, allocations: 11.94 kB / 435.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3285, allocations: 0 / 435.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.498e-05/0.3286, allocations: 8 kB / 435.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.3286, allocations: 4.031 kB / 435.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3286, allocations: 0 / 435.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.841e-05/0.3287, allocations: 107.2 kB / 435.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3287, allocations: 0 / 435.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.3289, allocations: 8 kB / 435.9 MB, free: 2.371 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: 2 (step.y,sample1.y) * 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.0001102/0.3291, allocations: 95.25 kB / 435.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.3292, allocations: 19.92 kB / 436 MB, free: 2.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3292, allocations: 4.125 kB / 436 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.407e-05/0.3292, allocations: 11.98 kB / 436 MB, free: 2.234 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.3295, allocations: 11.97 kB / 436 MB, free: 2.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.3299, allocations: 142.5 kB / 436.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.3302, allocations: 0.6846 MB / 436.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.402e-05/0.3302, allocations: 4.141 kB / 436.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.3302, allocations: 11.44 kB / 436.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3302, allocations: 0 / 436.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of Templates: time 0.003047/0.3333, allocations: 472.2 kB / 437.3 MB, free: 0.8711 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.225217832019553]