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.001628/0.001628, allocations: 113.8 kB / 19.17 MB, free: 3.895 MB / 14.72 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.001949/0.001949, allocations: 212.9 kB / 22.13 MB, free: 0.9414 MB / 14.72 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 1.458/1.458, allocations: 230.2 MB / 255.1 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 63.89 kB / 374.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1053, allocations: 53.32 MB / 427.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002811/0.1081, allocations: 1.523 MB / 429.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004105/0.1085, allocations: 151.5 kB / 429.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.1086, allocations: 8 kB / 429.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.903e-05/0.1087, allocations: 7.875 kB / 429.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.298e-05/0.1088, allocations: 11.86 kB / 429.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.109, allocations: 35.91 kB / 429.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1091, allocations: 39.91 kB / 429.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1092, allocations: 12 kB / 429.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.03e-05/0.1092, allocations: 15.92 kB / 429.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.898e-05/0.1093, allocations: 23.8 kB / 429.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.1093, allocations: 4 kB / 429.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.1093, allocations: 8 kB / 429.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.1094, allocations: 19.91 kB / 429.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.1094, allocations: 23.81 kB / 429.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.1095, allocations: 47.77 kB / 429.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1095, allocations: 3.984 kB / 429.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1095, allocations: 0 / 429.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.1095, allocations: 0 / 429.8 MB, free: 2.578 MB / 350.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.0005156/0.1101, allocations: 375.1 kB / 430.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1101, allocations: 8.031 kB / 430.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.1101, allocations: 12.89 kB / 430.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.1104, allocations: 200.2 kB / 430.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.1104, allocations: 8.312 kB / 430.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.1104, allocations: 384 / 430.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.1107, allocations: 118.5 kB / 430.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1107, allocations: 4.188 kB / 430.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1107, allocations: 3.938 kB / 430.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.1108, allocations: 4 kB / 430.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.572e-05/0.1109, allocations: 23.98 kB / 430.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.1113, allocations: 369.8 kB / 430.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.1115, allocations: 79.72 kB / 430.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.686e-05/0.1115, allocations: 30.62 kB / 431 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-06/0.1115, allocations: 0 / 431 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1116, allocations: 38.56 kB / 431 MB, free: 1.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1116, allocations: 0 / 431 MB, free: 1.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003146/0.1119, allocations: 101.5 kB / 431.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.1119, allocations: 102.8 kB / 431.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1121, allocations: 136.4 kB / 431.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1121, allocations: 29.7 kB / 431.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.1122, allocations: 92.12 kB / 431.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.1122, allocations: 7.891 kB / 431.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.1122, allocations: 29.59 kB / 431.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1124, allocations: 318.8 kB / 431.8 MB, free: 260 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-05/0.1124, allocations: 8 kB / 431.8 MB, free: 252 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.97e-05/0.1125, allocations: 39.42 kB / 431.9 MB, free: 200 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.1126, allocations: 59.28 kB / 431.9 MB, free: 128 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1126, allocations: 0 / 431.9 MB, free: 128 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001445/0.1127, allocations: 73.52 kB / 432 MB, free: 48 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1127, allocations: 8 kB / 432 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1128, allocations: 3.984 kB / 432 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1128, allocations: 4 kB / 432 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.107e-05/0.1128, allocations: 4 kB / 432 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1128, allocations: 0 / 432 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.868e-05/0.1128, allocations: 4 kB / 432 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1128, allocations: 0 / 432 MB, free: 24 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001319/0.113, allocations: 129.9 kB / 432.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.393e-05/0.1131, allocations: 49.59 kB / 432.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.1131, allocations: 15.95 kB / 432.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.1131, allocations: 7.984 kB / 432.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1131, allocations: 0 / 432.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1131, allocations: 0 / 432.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.1134, allocations: 173.6 kB / 432.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1134, allocations: 0 / 432.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.015e-05/0.1134, allocations: 7.984 kB / 432.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1134, allocations: 0 / 432.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1134, allocations: 8.031 kB / 432.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1134, allocations: 0 / 432.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1134, allocations: 7.984 kB / 432.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.1137, allocations: 255.5 kB / 432.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.1137, allocations: 97.05 kB / 432.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1138, allocations: 7.984 kB / 432.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.1139, allocations: 4 kB / 432.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.1139, allocations: 3.984 kB / 432.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.1139, allocations: 4 kB / 432.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.684e-05/0.114, allocations: 105.3 kB / 432.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.114, allocations: 0 / 432.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1142, allocations: 4 kB / 432.9 MB, free: 15.05 MB / 366.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[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.0001206/0.1144, allocations: 111.2 kB / 433 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.1145, allocations: 35.92 kB / 433 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1145, allocations: 4 kB / 433 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.801e-05/0.1146, allocations: 11.92 kB / 433 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.115, allocations: 38.64 kB / 433.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.1154, allocations: 213.2 kB / 433.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1157, allocations: 0.6924 MB / 434 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.1158, allocations: 11.44 kB / 434 MB, free: 13.87 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1158, allocations: 0 / 434 MB, free: 13.87 MB / 366.1 MB Notification: Performance of Templates: time 0.002429/0.1182, allocations: 0.8009 MB / 434.8 MB, free: 13.07 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.7930554500781]