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.001994/0.001994, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002038/0.002038, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.633/1.633, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.775e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002932/0.00296, allocations: 1.552 MB / 273.9 MB, free: 280 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004144/0.003374, allocations: 151.4 kB / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.003433, allocations: 0 / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.729e-05/0.00353, allocations: 7.922 kB / 274 MB, free: 120 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.055e-05/0.003621, allocations: 11.88 kB / 274 MB, free: 108 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.003817, allocations: 39.83 kB / 274.1 MB, free: 68 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.003921, allocations: 43.86 kB / 274.1 MB, free: 24 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.162e-05/0.004012, allocations: 11.98 kB / 274.1 MB, free: 12 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.727e-05/0.00408, allocations: 23.98 kB / 274.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.004115, allocations: 11.98 kB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.004136, allocations: 4 kB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.004147, allocations: 0 / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.0042, allocations: 15.94 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.004232, allocations: 15.84 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.004348, allocations: 51.75 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.00435, allocations: 0 / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004351, allocations: 4 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.004356, allocations: 0 / 274.2 MB, free: 15.89 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00056/0.004916, allocations: 404 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.004951, allocations: 12.02 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.004996, allocations: 8.891 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.005209, allocations: 140.5 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.005228, allocations: 4.312 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.005241, allocations: 8.375 kB / 274.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.005531, allocations: 120.6 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.00554, allocations: 4.125 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.005553, allocations: 8.344 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.005579, allocations: 4.375 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.005671, allocations: 19.92 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.006138, allocations: 414.3 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.006306, allocations: 93.23 kB / 275.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.855e-05/0.006384, allocations: 43.11 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.006397, allocations: 0 / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.006431, allocations: 37.39 kB / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.648e-06/0.006441, allocations: 0 / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003131/0.006754, allocations: 85.44 kB / 275.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003051/0.007059, allocations: 106.8 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.007245, allocations: 203.3 kB / 275.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.007265, allocations: 26.08 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.007349, allocations: 134.9 kB / 276.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.007368, allocations: 15.94 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.007425, allocations: 23.38 kB / 276.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002532/0.007678, allocations: 496.1 kB / 276.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.835e-05/0.007726, allocations: 11.98 kB / 276.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.984e-05/0.007776, allocations: 23.38 kB / 276.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.37e-05/0.00787, allocations: 39.3 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.007871, allocations: 4.062 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00013/0.008001, allocations: 53.62 kB / 276.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.00802, allocations: 11.94 kB / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.008024, allocations: 0 / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.008039, allocations: 3.984 kB / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.519e-05/0.008054, allocations: 0 / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.008061, allocations: 3.984 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.0081, allocations: 11.95 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.008105, allocations: 0 / 276.8 MB, free: 13.07 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 0.0001204/0.008226, allocations: 164.6 kB / 276.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.008312, allocations: 45.64 kB / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.008353, allocations: 15.89 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/0.008377, allocations: 7.938 kB / 277 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.00838, allocations: 3.938 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.008383, allocations: 0 / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.008612, allocations: 144.6 kB / 277.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.008615, allocations: 0 / 277.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-06/0.008621, allocations: 0 / 277.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.008622, allocations: 0 / 277.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.008631, allocations: 8.031 kB / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.008634, allocations: 3.938 kB / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008635, allocations: 0 / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.008953, allocations: 346.7 kB / 277.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.008987, allocations: 7.953 kB / 277.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.009005, allocations: 7.984 kB / 277.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.009097, allocations: 3.938 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.009141, allocations: 8 kB / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.009145, allocations: 0 / 277.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.009263, allocations: 154.4 kB / 277.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009263, allocations: 0 / 277.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.009511, allocations: 8 kB / 277.7 MB, free: 12.09 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.0001207/0.009631, allocations: 99.25 kB / 277.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.009787, allocations: 35.61 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.009789, allocations: 0 / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.659e-05/0.009846, allocations: 19.86 kB / 277.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.01026, allocations: 16.66 kB / 277.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.01062, allocations: 184.6 kB / 278 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.363e-05/0.01071, allocations: 75.33 kB / 278.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.304e-05/0.01075, allocations: 7.984 kB / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.01078, allocations: 12.5 kB / 278.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01078, allocations: 0 / 278.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of Templates: time 0.003437/0.01421, allocations: 0.6545 MB / 278.8 MB, free: 10.93 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.457010155078024]