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.001719/0.001719, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002021/0.002021, allocations: 160.7 kB / 24.5 MB, free: 3.453 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.504/1.504, allocations: 177.1 MB / 204.7 MB, free: 8.914 MB / 190.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.001909/0.001909, allocations: 62.23 kB / 325.5 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1107, allocations: 53.38 MB / 378.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002881/0.1136, allocations: 1.545 MB / 380.4 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003817/0.114, allocations: 143.5 kB / 380.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.1141, allocations: 7.938 kB / 380.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.569e-05/0.1142, allocations: 11.92 kB / 380.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.479e-05/0.1142, allocations: 3.938 kB / 380.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.1145, allocations: 47.83 kB / 380.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.968e-05/0.1146, allocations: 39.86 kB / 380.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1147, allocations: 11.94 kB / 380.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.1147, allocations: 15.92 kB / 380.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.1147, allocations: 19.86 kB / 380.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1147, allocations: 0 / 380.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.1148, allocations: 4 kB / 380.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.1148, allocations: 19.97 kB / 380.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.1149, allocations: 23.81 kB / 380.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.115, allocations: 43.77 kB / 380.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.115, allocations: 4 kB / 380.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.115, allocations: 0 / 380.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.115, allocations: 0 / 380.8 MB, free: 13.61 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.0004317/0.1154, allocations: 309.9 kB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1154, allocations: 11.98 kB / 381.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.1155, allocations: 8.891 kB / 381.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.1157, allocations: 133.3 kB / 381.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1157, allocations: 12.38 kB / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.1157, allocations: 384 / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.116, allocations: 118.5 kB / 381.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.116, allocations: 192 / 381.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.116, allocations: 7.922 kB / 381.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.116, allocations: 8 kB / 381.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.068e-05/0.1161, allocations: 35.89 kB / 381.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.1166, allocations: 305.5 kB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.1167, allocations: 75.77 kB / 381.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.1168, allocations: 38.52 kB / 381.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.1168, allocations: 0 / 381.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.1168, allocations: 42.55 kB / 381.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1168, allocations: 0 / 381.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000278/0.1171, allocations: 89.88 kB / 382 MB, free: 12.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.1172, allocations: 110.8 kB / 382.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1173, allocations: 137.8 kB / 382.2 MB, free: 12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1173, allocations: 29.7 kB / 382.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.1174, allocations: 84.14 kB / 382.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.1174, allocations: 7.953 kB / 382.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.1174, allocations: 25.64 kB / 382.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1176, allocations: 314.8 kB / 382.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.804e-05/0.1176, allocations: 15.98 kB / 382.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.487e-05/0.1177, allocations: 35.42 kB / 382.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.1178, allocations: 55.36 kB / 382.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1178, allocations: 0 / 382.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001412/0.1179, allocations: 77.5 kB / 382.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1179, allocations: 8 kB / 382.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-06/0.1179, allocations: 0 / 382.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.118, allocations: 4.125 kB / 382.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.408e-05/0.118, allocations: 11.94 kB / 382.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.118, allocations: 0 / 382.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.558e-05/0.118, allocations: 4 kB / 382.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.118, allocations: 0 / 382.9 MB, free: 11.28 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.0001029/0.1181, allocations: 125.8 kB / 383 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.671e-05/0.1182, allocations: 53.64 kB / 383.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.1182, allocations: 7.969 kB / 383.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.1183, allocations: 4 kB / 383.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1183, allocations: 8.016 kB / 383.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1183, allocations: 0 / 383.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.1184, allocations: 117.3 kB / 383.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1185, allocations: 3.938 kB / 383.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-05/0.1185, allocations: 3.938 kB / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1185, allocations: 4 kB / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1185, allocations: 3.984 kB / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1185, allocations: 0 / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1185, allocations: 0 / 383.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1187, allocations: 259.6 kB / 383.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.1188, allocations: 23.83 kB / 383.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1188, allocations: 3.984 kB / 383.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.1189, allocations: 7.938 kB / 383.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.1189, allocations: 7.938 kB / 383.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1189, allocations: 0 / 383.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.78e-05/0.119, allocations: 110.8 kB / 383.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.119, allocations: 0 / 383.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1192, allocations: 8 kB / 383.6 MB, free: 10.48 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.0001066/0.1194, allocations: 103.2 kB / 383.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.1195, allocations: 43.91 kB / 383.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1195, allocations: 0 / 383.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.1196, allocations: 8 kB / 383.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.12, allocations: 31.77 kB / 383.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.1203, allocations: 183.1 kB / 384 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.643e-05/0.1204, allocations: 79.8 kB / 384.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.309e-05/0.1204, allocations: 7.984 kB / 384.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.1205, allocations: 8.5 kB / 384.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1205, allocations: 0 / 384.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of Templates: time 0.003208/0.1237, allocations: 0.6685 MB / 384.8 MB, free: 9.316 MB / 350.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 -s ida -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/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_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: 4.4183587490115315]