Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001285/0.001285, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001699/0.001699, allocations: 170.5 kB / 25.61 MB, free: 8.895 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.001/1.001, allocations: 177.1 MB / 206 MB, free: 4.52 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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 4 kB / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.724e-05, allocations: 5.125 kB / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00222/0.002247, allocations: 1.567 MB / 275.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003425/0.00259, allocations: 147.4 kB / 275.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.359e-05/0.002673, allocations: 7.938 kB / 275.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.002783, allocations: 4.875 kB / 275.9 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.68e-05/0.00288, allocations: 11.92 kB / 275.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.003069, allocations: 41.62 kB / 276 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.003174, allocations: 47.83 kB / 276 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.003281, allocations: 4 kB / 276 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.623e-05/0.003327, allocations: 23.97 kB / 276 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.931e-05/0.003356, allocations: 7.938 kB / 276 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.003378, allocations: 4.688 kB / 276 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.003387, allocations: 4 kB / 276.1 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.003443, allocations: 24.88 kB / 276.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.003465, allocations: 4 kB / 276.1 MB, free: 2.543 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.003568, allocations: 45.17 kB / 276.1 MB, free: 2.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.003571, allocations: 4 kB / 276.1 MB, free: 2.496 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.003572, allocations: 0 / 276.1 MB, free: 2.496 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.003576, allocations: 0 / 276.1 MB, free: 2.496 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003713/0.003947, allocations: 401 kB / 276.5 MB, free: 2.066 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.00398, allocations: 8.031 kB / 276.5 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.004012, allocations: 16.89 kB / 276.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.004172, allocations: 148.3 kB / 276.7 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.00419, allocations: 4.375 kB / 276.7 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.004197, allocations: 384 / 276.7 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.004383, allocations: 121.3 kB / 276.8 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.004391, allocations: 192 / 276.8 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.004398, allocations: 4.375 kB / 276.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.004425, allocations: 8.359 kB / 276.8 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.004444, allocations: 11.88 kB / 276.8 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.004708, allocations: 387 kB / 277.2 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.096e-05/0.004779, allocations: 81.25 kB / 277.3 MB, free: 1.164 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.004805, allocations: 38.97 kB / 277.3 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.004812, allocations: 4.062 kB / 277.3 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.004835, allocations: 33.39 kB / 277.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.004836, allocations: 0 / 277.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001584/0.004995, allocations: 73.5 kB / 277.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.005045, allocations: 110.7 kB / 277.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/0.005135, allocations: 192.2 kB / 277.7 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.005144, allocations: 25.7 kB / 277.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.005193, allocations: 134.9 kB / 277.9 MB, free: 496 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.005204, allocations: 7.891 kB / 277.9 MB, free: 488 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.005235, allocations: 27.36 kB / 277.9 MB, free: 452 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.005375, allocations: 0.4884 MB / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.005385, allocations: 384 / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.005404, allocations: 23.38 kB / 278.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.005434, allocations: 27.31 kB / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.005437, allocations: 3.984 kB / 278.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.363e-05/0.00549, allocations: 33.7 kB / 278.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.005504, allocations: 8 kB / 278.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.00551, allocations: 4 kB / 278.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.005521, allocations: 3.938 kB / 278.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.627e-05/0.005537, allocations: 128 / 278.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.00554, allocations: 7.938 kB / 278.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.00557, allocations: 7.953 kB / 278.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.005575, allocations: 3.984 kB / 278.5 MB, free: 15.8 MB / 266.7 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[1],sample1.u[2]) * 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 8.161e-05/0.005657, allocations: 156.6 kB / 278.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.00571, allocations: 33.7 kB / 278.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.005734, allocations: 11.97 kB / 278.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.005753, allocations: 11.92 kB / 278.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.005755, allocations: 0 / 278.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.005758, allocations: 0 / 278.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.005888, allocations: 117.2 kB / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.005891, allocations: 0 / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.309e-06/0.005896, allocations: 4 kB / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.005898, allocations: 0 / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-06/0.005903, allocations: 0 / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.005905, allocations: 7.938 kB / 278.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005906, allocations: 0 / 278.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.006035, allocations: 322.7 kB / 279.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.006064, allocations: 12 kB / 279.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.006072, allocations: 0 / 279.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.865e-05/0.006131, allocations: 12.02 kB / 279.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.006161, allocations: 7.875 kB / 279.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.006165, allocations: 0 / 279.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.89e-05/0.006213, allocations: 143.2 kB / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006214, allocations: 0 / 279.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.006382, allocations: 15.89 kB / 279.4 MB, free: 14.89 MB / 266.7 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[1],sample1.u[2],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.0001037/0.006486, allocations: 99.23 kB / 279.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.883e-05/0.006565, allocations: 15.69 kB / 279.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.006567, allocations: 4.125 kB / 279.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-05/0.006584, allocations: 15.62 kB / 279.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.006887, allocations: 27.06 kB / 279.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.00715, allocations: 172.8 kB / 279.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.32e-05/0.007194, allocations: 67.2 kB / 279.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.614e-05/0.00721, allocations: 0 / 279.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.007263, allocations: 78.19 kB / 279.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.007264, allocations: 224 / 279.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of Templates: time 0.002486/0.00975, allocations: 0.7279 MB / 280.6 MB, free: 13.64 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.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.829896662849933]