Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9444/0.9444, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.961e-06/5.961e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.522e-05, allocations: 5.125 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002271/0.002306, allocations: 1.576 MB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000355/0.002661, allocations: 151.4 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.678e-05/0.002738, allocations: 7.938 kB / 274.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.002847, allocations: 7.922 kB / 274.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.635e-05/0.002943, allocations: 7.875 kB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.003136, allocations: 39.83 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.939e-05/0.003236, allocations: 39.86 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.003347, allocations: 11.98 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.00339, allocations: 23.91 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.96e-05/0.003419, allocations: 11.98 kB / 274.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.003444, allocations: 8 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-06/0.003454, allocations: 4 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.00351, allocations: 15.92 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.00354, allocations: 11.94 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.003644, allocations: 39.83 kB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.003647, allocations: 4 kB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.003648, allocations: 0 / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.003653, allocations: 0 / 274.9 MB, free: 15.5 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.0004183/0.004072, allocations: 396.3 kB / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.004111, allocations: 11.98 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.004154, allocations: 20.84 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.004324, allocations: 140.4 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.004345, allocations: 4.375 kB / 275.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.004355, allocations: 4.375 kB / 275.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.00459, allocations: 133.3 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.004597, allocations: 192 / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.004606, allocations: 384 / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.004643, allocations: 4.375 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.531e-05/0.004668, allocations: 19.86 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.004988, allocations: 402.4 kB / 276 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.225e-05/0.005071, allocations: 85.12 kB / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.005101, allocations: 35.17 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.005109, allocations: 0 / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.005135, allocations: 41.39 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.005136, allocations: 0 / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001792/0.005315, allocations: 69.5 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.00537, allocations: 110.8 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.945e-05/0.00547, allocations: 193.9 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.00548, allocations: 25.7 kB / 276.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.005529, allocations: 130.9 kB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.005543, allocations: 15.88 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.005572, allocations: 23.38 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.005708, allocations: 492.1 kB / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.005721, allocations: 0 / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.005741, allocations: 27.75 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.005771, allocations: 23.36 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005773, allocations: 0 / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.761e-05/0.005831, allocations: 49.59 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.00585, allocations: 7.938 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.005854, allocations: 0 / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.005869, allocations: 4 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.42e-05/0.005893, allocations: 0 / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.005899, allocations: 0 / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.005928, allocations: 16.05 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.005934, allocations: 3.938 kB / 277.3 MB, free: 12.76 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 7.874e-05/0.006013, allocations: 156.6 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.006065, allocations: 37.66 kB / 277.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.006095, allocations: 19.89 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.006111, allocations: 0 / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.006116, allocations: 4 kB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.006119, allocations: 0 / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.006247, allocations: 124.6 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.00625, allocations: 8.031 kB / 277.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-06/0.006255, allocations: 4 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.006259, allocations: 3.984 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.006267, allocations: 0 / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.006271, allocations: 11.88 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006272, allocations: 0 / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.006415, allocations: 326.8 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.006443, allocations: 11.95 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.006456, allocations: 7.984 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.26e-05/0.006509, allocations: 7.922 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.006548, allocations: 8 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.006552, allocations: 0 / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.684e-05/0.006599, allocations: 142.3 kB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006599, allocations: 0 / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000161/0.00676, allocations: 15.98 kB / 278.2 MB, free: 11.82 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 8.678e-05/0.006846, allocations: 99.19 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.156e-05/0.006928, allocations: 15.69 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.00693, allocations: 0 / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.818e-05/0.006948, allocations: 19.75 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.007236, allocations: 24.77 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.007511, allocations: 176.7 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.262e-05/0.007553, allocations: 63.34 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.328e-05/0.007577, allocations: 12.02 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.007603, allocations: 8.5 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.007604, allocations: 4 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Templates: time 0.0026/0.0102, allocations: 0.7095 MB / 279.3 MB, free: 10.63 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.6531057450920343]