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.001743/0.001743, allocations: 73.56 kB / 21.24 MB, free: 0.5547 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.002184/0.002184, allocations: 159.4 kB / 24.5 MB, free: 3.715 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.409/1.409, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.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 0.001519/0.001519, allocations: 60.72 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09904, allocations: 53.33 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002799/0.1018, allocations: 1.537 MB / 380.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003837/0.1022, allocations: 147.5 kB / 380.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.1023, allocations: 0 / 380.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.308e-05/0.1024, allocations: 7.922 kB / 380.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.1025, allocations: 15.92 kB / 380.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.1027, allocations: 35.84 kB / 380.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.459e-05/0.1028, allocations: 43.84 kB / 380.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1029, allocations: 19.92 kB / 380.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.432e-05/0.1029, allocations: 11.94 kB / 380.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.1029, allocations: 15.92 kB / 380.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1029, allocations: 4 kB / 380.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.103, allocations: 4 kB / 380.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.103, allocations: 19.86 kB / 380.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.103, allocations: 19.81 kB / 380.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.1032, allocations: 59.67 kB / 380.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1032, allocations: 4 kB / 380.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1032, allocations: 0 / 380.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1032, allocations: 0 / 380.8 MB, free: 13.71 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.000455/0.1037, allocations: 294.1 kB / 381.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1037, allocations: 11.97 kB / 381.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.1037, allocations: 12.89 kB / 381.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.104, allocations: 145.2 kB / 381.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.104, allocations: 384 / 381.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.104, allocations: 4.375 kB / 381.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.1043, allocations: 118.5 kB / 381.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1043, allocations: 192 / 381.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1043, allocations: 7.938 kB / 381.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.1043, allocations: 11.98 kB / 381.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1044, allocations: 27.92 kB / 381.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.1048, allocations: 305.5 kB / 381.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.105, allocations: 75.78 kB / 381.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.852e-05/0.105, allocations: 38.56 kB / 381.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.105, allocations: 0 / 381.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1051, allocations: 38.55 kB / 381.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.966e-06/0.1051, allocations: 8 kB / 381.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002849/0.1054, allocations: 85.56 kB / 382 MB, free: 12.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.1055, allocations: 114.7 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1056, allocations: 133.8 kB / 382.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1056, allocations: 25.7 kB / 382.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.1057, allocations: 92.12 kB / 382.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.1057, allocations: 7.953 kB / 382.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.1057, allocations: 17.72 kB / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1059, allocations: 315.2 kB / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.071e-05/0.1059, allocations: 19.98 kB / 382.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.644e-05/0.106, allocations: 31.42 kB / 382.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.1061, allocations: 51.36 kB / 382.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1061, allocations: 4 kB / 382.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001538/0.1063, allocations: 81.5 kB / 382.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1063, allocations: 4 kB / 382.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1063, allocations: 7.938 kB / 382.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1063, allocations: 7.875 kB / 382.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.731e-05/0.1063, allocations: 0 / 382.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1063, allocations: 7.984 kB / 382.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.582e-05/0.1063, allocations: 0 / 382.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1064, allocations: 4 kB / 382.9 MB, free: 11.39 MB / 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.0001155/0.1065, allocations: 125.9 kB / 383 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.1066, allocations: 53.66 kB / 383.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.1066, allocations: 7.953 kB / 383.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.1066, allocations: 7.938 kB / 383.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1066, allocations: 0 / 383.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1066, allocations: 4 kB / 383.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.1068, allocations: 113.3 kB / 383.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.1068, allocations: 7.938 kB / 383.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-06/0.1068, allocations: 3.984 kB / 383.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1068, allocations: 0 / 383.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1069, allocations: 0 / 383.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1069, allocations: 8.031 kB / 383.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1069, allocations: 0 / 383.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.1071, allocations: 255.6 kB / 383.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.1072, allocations: 27.81 kB / 383.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1072, allocations: 4 kB / 383.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.1073, allocations: 4 kB / 383.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.1073, allocations: 3.984 kB / 383.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1073, allocations: 4 kB / 383.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.198e-05/0.1074, allocations: 106.4 kB / 383.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1074, allocations: 4 kB / 383.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1077, allocations: 7.984 kB / 383.6 MB, free: 10.59 MB / 350.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.0001022/0.1078, allocations: 103.2 kB / 383.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.1079, allocations: 35.92 kB / 383.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.1079, allocations: 4 kB / 383.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.589e-05/0.108, allocations: 7.984 kB / 383.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1084, allocations: 39.61 kB / 383.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.1087, allocations: 175.2 kB / 384 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.465e-05/0.1088, allocations: 71.33 kB / 384.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.065e-05/0.1088, allocations: 7.984 kB / 384.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.1089, allocations: 16.58 kB / 384.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1089, allocations: 0 / 384.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Templates: time 0.003152/0.112, allocations: 0.6827 MB / 384.8 MB, free: 9.422 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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.222282032947987]