Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.001792/0.001792, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.002191/0.002191, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.575/1.575, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 325 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.805e-05/4.061e-05, allocations: 9.312 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003038/0.003078, allocations: 1.553 MB / 326.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004962/0.003575, allocations: 155.2 kB / 326.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.754e-05/0.003652, allocations: 1.219 kB / 326.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.003755, allocations: 6.781 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.003869, allocations: 10.98 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.004141, allocations: 41.91 kB / 326.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.004261, allocations: 36.33 kB / 326.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.004373, allocations: 11.98 kB / 326.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.003e-05/0.004433, allocations: 34.45 kB / 326.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.901e-05/0.004482, allocations: 15.83 kB / 326.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.004511, allocations: 2.156 kB / 326.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.004523, allocations: 3.719 kB / 326.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.004584, allocations: 15.48 kB / 326.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.004618, allocations: 9.734 kB / 326.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.004751, allocations: 58.95 kB / 327 MB, free: 15.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.004754, allocations: 0 / 327 MB, free: 15.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.004757, allocations: 0.6562 kB / 327 MB, free: 15.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.004767, allocations: 1.125 kB / 327 MB, free: 15.28 MB / 302.1 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.000522/0.005289, allocations: 309.5 kB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.005325, allocations: 9.125 kB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.00536, allocations: 9.391 kB / 327.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.005593, allocations: 140.9 kB / 327.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.005606, allocations: 5.438 kB / 327.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.005621, allocations: 2.594 kB / 327.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.005946, allocations: 123.3 kB / 327.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.005959, allocations: 4.188 kB / 327.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.00597, allocations: 1.469 kB / 327.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.005993, allocations: 3.859 kB / 327.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.006126, allocations: 37.91 kB / 327.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.006636, allocations: 310.9 kB / 327.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.006795, allocations: 81.86 kB / 328 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.006884, allocations: 40.59 kB / 328.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.006901, allocations: 5.094 kB / 328.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.006937, allocations: 34.34 kB / 328.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.006939, allocations: 0 / 328.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003728/0.007312, allocations: 110.8 kB / 328.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.007471, allocations: 110.1 kB / 328.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.00768, allocations: 155.4 kB / 328.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.007698, allocations: 29.7 kB / 328.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.00776, allocations: 87.41 kB / 328.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.007773, allocations: 6.375 kB / 328.6 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.007814, allocations: 18.62 kB / 328.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.007972, allocations: 318.6 kB / 328.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.29e-05/0.008035, allocations: 11.92 kB / 328.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.008097, allocations: 22.61 kB / 329 MB, free: 13.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.008236, allocations: 47.52 kB / 329 MB, free: 13.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.008237, allocations: 0 / 329 MB, free: 13.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001665/0.008404, allocations: 70.25 kB / 329.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.008422, allocations: 8.969 kB / 329.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.008427, allocations: 0 / 329.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.008443, allocations: 1.281 kB / 329.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.00853, allocations: 11.86 kB / 329.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.008535, allocations: 5.406 kB / 329.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.987e-05/0.008575, allocations: 4.453 kB / 329.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.008581, allocations: 1.25 kB / 329.1 MB, free: 13.4 MB / 302.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 (sample1.u[2],sample1.u[1]) * 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.000118/0.008699, allocations: 120.3 kB / 329.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.008801, allocations: 51.69 kB / 329.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.008846, allocations: 19.77 kB / 329.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.008861, allocations: 5.469 kB / 329.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.008869, allocations: 4 kB / 329.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.008873, allocations: 1.156 kB / 329.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.009095, allocations: 123.4 kB / 329.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.009099, allocations: 1.828 kB / 329.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.009148, allocations: 14.52 kB / 329.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.009151, allocations: 1.938 kB / 329.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.009161, allocations: 1.406 kB / 329.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.009167, allocations: 5.188 kB / 329.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.009171, allocations: 1.812 kB / 329.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.009537, allocations: 259.7 kB / 329.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.009578, allocations: 19.05 kB / 329.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.009597, allocations: 5.828 kB / 329.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.009707, allocations: 9.234 kB / 329.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.009753, allocations: 7.531 kB / 329.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.009757, allocations: 0.9375 kB / 329.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.937e-05/0.009857, allocations: 108.7 kB / 329.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.009857, allocations: 0 / 329.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.01014, allocations: 9.469 kB / 329.9 MB, free: 12.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001556/0.01029, allocations: 103.1 kB / 330 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.01049, allocations: 44.38 kB / 330 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.01049, allocations: 4.969 kB / 330 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.01057, allocations: 18.02 kB / 330 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.01101, allocations: 25.39 kB / 330 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.01145, allocations: 175.1 kB / 330.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.01157, allocations: 84.62 kB / 330.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.01161, allocations: 6.156 kB / 330.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.01166, allocations: 15.53 kB / 330.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01166, allocations: 1.219 kB / 330.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Templates: time 0.004196/0.01585, allocations: 0.6526 MB / 331 MB, free: 12.3 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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: 4.481095764786005]