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.00147/0.00147, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001303/0.001303, allocations: 168.7 kB / 25.61 MB, free: 8.926 MB / 18.57 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 0.9608/0.9608, allocations: 177.2 MB / 206.1 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.944e-06/1.944e-06, allocations: 0 / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.958e-05, allocations: 2.312 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002956/0.002975, allocations: 1.547 MB / 275.7 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004211/0.003396, allocations: 147.9 kB / 275.9 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.003486, allocations: 0.9375 kB / 275.9 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.114e-05/0.003557, allocations: 3.938 kB / 275.9 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.003701, allocations: 7.938 kB / 275.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.003917, allocations: 32.34 kB / 275.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.004023, allocations: 37.53 kB / 276 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.004114, allocations: 11.98 kB / 276 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.514e-05/0.004169, allocations: 15.98 kB / 276 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.083e-05/0.00421, allocations: 3.938 kB / 276 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.004233, allocations: 4.844 kB / 276 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.004242, allocations: 0 / 276 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.00429, allocations: 11.98 kB / 276 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.004311, allocations: 12.73 kB / 276 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.004414, allocations: 31.86 kB / 276.1 MB, free: 2.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004415, allocations: 1.5 kB / 276.1 MB, free: 2.566 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004416, allocations: 0 / 276.1 MB, free: 2.566 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.00442, allocations: 0 / 276.1 MB, free: 2.566 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000421/0.004841, allocations: 384.4 kB / 276.4 MB, free: 2.152 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.004884, allocations: 12.75 kB / 276.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.004929, allocations: 12.89 kB / 276.5 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.005108, allocations: 140.4 kB / 276.6 MB, free: 1.965 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.005118, allocations: 384 / 276.6 MB, free: 1.965 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.005127, allocations: 4.375 kB / 276.6 MB, free: 1.961 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.005314, allocations: 105.6 kB / 276.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.005323, allocations: 192 / 276.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.00533, allocations: 384 / 276.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.005337, allocations: 384 / 276.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.826e-05/0.005355, allocations: 15.92 kB / 276.7 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.00559, allocations: 240.1 kB / 277 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.965e-05/0.00565, allocations: 50.12 kB / 277 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.005674, allocations: 23.5 kB / 277 MB, free: 1.445 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.005686, allocations: 0 / 277 MB, free: 1.445 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.005711, allocations: 37.33 kB / 277.1 MB, free: 1.398 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.005712, allocations: 0 / 277.1 MB, free: 1.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001463/0.005858, allocations: 53.52 kB / 277.1 MB, free: 1.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.00591, allocations: 81.36 kB / 277.2 MB, free: 1.242 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.006035, allocations: 193 kB / 277.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.006047, allocations: 25.7 kB / 277.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.006109, allocations: 138.8 kB / 277.5 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.294e-06/0.006116, allocations: 4 kB / 277.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.006149, allocations: 19.36 kB / 277.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.006298, allocations: 0.4884 MB / 278.1 MB, free: 344 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.006306, allocations: 0 / 278.1 MB, free: 344 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.006312, allocations: 0 / 278.1 MB, free: 344 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.128e-05/0.006333, allocations: 11.69 kB / 278.1 MB, free: 328 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006335, allocations: 4.062 kB / 278.1 MB, free: 324 kB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.684e-05/0.006392, allocations: 45.59 kB / 278.1 MB, free: 272 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.006405, allocations: 8 kB / 278.1 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.00641, allocations: 0 / 278.1 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.006423, allocations: 7.922 kB / 278.1 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.117e-05/0.006474, allocations: 4 kB / 278.1 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.006477, allocations: 0 / 278.1 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.006495, allocations: 0 / 278.1 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.006499, allocations: 0 / 278.1 MB, free: 252 kB / 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: 1 (step.y) * 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 7.895e-05/0.006578, allocations: 156.6 kB / 278.3 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.006624, allocations: 37.67 kB / 278.3 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.006653, allocations: 15.8 kB / 278.3 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.006656, allocations: 7.875 kB / 278.3 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.006657, allocations: 0 / 278.3 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.006661, allocations: 0 / 278.3 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.006801, allocations: 105.2 kB / 278.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006802, allocations: 0 / 278.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.006823, allocations: 4 kB / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.006825, allocations: 0 / 278.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.006831, allocations: 4 kB / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.006832, allocations: 4.031 kB / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.006833, allocations: 0 / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.006933, allocations: 203.5 kB / 278.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.006962, allocations: 15.89 kB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.006973, allocations: 3.938 kB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.007018, allocations: 0 / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.007045, allocations: 7.984 kB / 278.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.007049, allocations: 3.938 kB / 278.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.792e-05/0.007107, allocations: 139.2 kB / 278.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007107, allocations: 4 kB / 278.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000215/0.007322, allocations: 4.031 kB / 278.8 MB, free: 15.48 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: 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 8.405e-05/0.007406, allocations: 95.25 kB / 278.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.255e-05/0.007469, allocations: 11.69 kB / 278.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.00747, allocations: 0 / 278.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.007486, allocations: 11.69 kB / 278.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.007783, allocations: 20.23 kB / 279 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.008033, allocations: 133.9 kB / 279.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.592e-05/0.008079, allocations: 71.14 kB / 279.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.705e-05/0.008096, allocations: 4 kB / 279.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.008155, allocations: 74.19 kB / 279.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008155, allocations: 0 / 279.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of Templates: time 0.002016/0.01017, allocations: 0.5198 MB / 279.8 MB, free: 14.48 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] 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","",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.664538445882499]