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.0009517/0.0009517, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.00222/0.00222, allocations: 167.6 kB / 24.99 MB, free: 8.25 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 1.087/1.087, allocations: 177.1 MB / 205.3 MB, free: 5.645 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 2.265e-06/2.265e-06, allocations: 0 / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.746e-05, allocations: 6.312 kB / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003023/0.003061, allocations: 1.558 MB / 274.6 MB, free: 304 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004172/0.003478, allocations: 143.4 kB / 274.7 MB, free: 160 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.003592, allocations: 4 kB / 274.7 MB, free: 156 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.592e-05/0.003658, allocations: 3.938 kB / 274.8 MB, free: 152 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.003815, allocations: 15.91 kB / 274.8 MB, free: 136 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.004079, allocations: 35.78 kB / 274.8 MB, free: 100 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.004187, allocations: 27.92 kB / 274.8 MB, free: 72 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.004303, allocations: 8 kB / 274.8 MB, free: 64 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.549e-05/0.004358, allocations: 19.92 kB / 274.9 MB, free: 44 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.004404, allocations: 3.984 kB / 274.9 MB, free: 40 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.004431, allocations: 4 kB / 274.9 MB, free: 36 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-06/0.00444, allocations: 0 / 274.9 MB, free: 36 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.004496, allocations: 19.92 kB / 274.9 MB, free: 16 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.004524, allocations: 11.92 kB / 274.9 MB, free: 4 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.004662, allocations: 31.94 kB / 274.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.004665, allocations: 0 / 274.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004666, allocations: 0 / 274.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.004671, allocations: 0 / 274.9 MB, free: 15.97 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004438/0.005115, allocations: 388.4 kB / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.005158, allocations: 12.03 kB / 275.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.005207, allocations: 8.891 kB / 275.3 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.005407, allocations: 136.4 kB / 275.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.005419, allocations: 4.375 kB / 275.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.005431, allocations: 4.375 kB / 275.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.005692, allocations: 105.6 kB / 275.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005699, allocations: 192 / 275.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.005708, allocations: 384 / 275.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.005719, allocations: 4.375 kB / 275.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/0.005743, allocations: 7.875 kB / 275.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.006082, allocations: 263.5 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.428e-05/0.006156, allocations: 62.06 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.006188, allocations: 19.5 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.006211, allocations: 0 / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.006243, allocations: 33.39 kB / 276 MB, free: 14.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.006244, allocations: 4 kB / 276 MB, free: 14.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002049/0.006449, allocations: 49.56 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/0.006639, allocations: 81.11 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.006772, allocations: 185.9 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.006786, allocations: 29.95 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.00685, allocations: 134.9 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.006861, allocations: 0 / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.006898, allocations: 27.36 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.00704, allocations: 492.1 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.007053, allocations: 3.938 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.113e-05/0.007064, allocations: 7.938 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.00709, allocations: 7.688 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.007094, allocations: 4 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.132e-05/0.007165, allocations: 45.64 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.00718, allocations: 8.094 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.007187, allocations: 3.938 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.007201, allocations: 0 / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.007271, allocations: 4 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.007278, allocations: 0 / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.007298, allocations: 4 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.007304, allocations: 0 / 277 MB, free: 13.62 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: 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 8.594e-05/0.00739, allocations: 152.6 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.007451, allocations: 45.58 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.483e-05/0.007486, allocations: 15.78 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.007489, allocations: 4 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.007494, allocations: 0 / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.007498, allocations: 3.984 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.007636, allocations: 124.6 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.007638, allocations: 0 / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.007677, allocations: 7.984 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.00768, allocations: 0 / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.007688, allocations: 4 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.007691, allocations: 3.938 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.007693, allocations: 0 / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.007817, allocations: 199.6 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.007853, allocations: 15.88 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.007866, allocations: 4 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.375e-05/0.00792, allocations: 3.938 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.007951, allocations: 0 / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.007958, allocations: 7.984 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.181e-05/0.00802, allocations: 142.7 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00802, allocations: 0 / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.008251, allocations: 4 kB / 277.7 MB, free: 12.82 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 0.0001122/0.008364, allocations: 99.28 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.008451, allocations: 15.62 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.008453, allocations: 7.938 kB / 277.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.008467, allocations: 7.688 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.00882, allocations: 16.3 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.009173, allocations: 145.4 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.983e-05/0.009223, allocations: 59.34 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.797e-05/0.009241, allocations: 4.219 kB / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.009268, allocations: 8.5 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.009269, allocations: 0 / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of Templates: time 0.002784/0.01205, allocations: 0.4926 MB / 278.6 MB, free: 11.91 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.93878200603649]