Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 186.8 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 59.86 kB / 371.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2447, allocations: 52.17 MB / 423.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003151/0.2478, allocations: 1.541 MB / 425.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004547/0.2483, allocations: 131.6 kB / 425.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.994e-05/0.2484, allocations: 3.938 kB / 425.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.756e-05/0.2485, allocations: 3.938 kB / 425.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.2486, allocations: 19.91 kB / 425.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.2488, allocations: 27.92 kB / 425.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.2489, allocations: 55.77 kB / 425.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.249, allocations: 15.8 kB / 425.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.2491, allocations: 15.92 kB / 425.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.921e-05/0.2491, allocations: 11.92 kB / 425.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.2491, allocations: 4 kB / 425.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.2492, allocations: 4 kB / 425.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.2492, allocations: 11.94 kB / 425.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.2493, allocations: 23.8 kB / 425.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.2494, allocations: 54.91 kB / 425.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2494, allocations: 0 / 425.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2494, allocations: 0 / 425.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2494, allocations: 4 kB / 425.7 MB, free: 12.59 MB / 334.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.0004845/0.2499, allocations: 309.7 kB / 426 MB, free: 12.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2499, allocations: 8.031 kB / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.25, allocations: 8.891 kB / 426.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.2502, allocations: 142.3 kB / 426.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.2502, allocations: 4.375 kB / 426.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.2503, allocations: 4.375 kB / 426.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.2506, allocations: 122.5 kB / 426.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2506, allocations: 192 / 426.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2506, allocations: 3.938 kB / 426.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.2506, allocations: 4 kB / 426.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.934e-05/0.2507, allocations: 31.91 kB / 426.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.2511, allocations: 297.6 kB / 426.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.2513, allocations: 79.78 kB / 426.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.283e-05/0.2514, allocations: 42.5 kB / 426.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.2514, allocations: 3.984 kB / 426.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.2514, allocations: 38.5 kB / 426.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.2514, allocations: 4 kB / 426.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003023/0.2517, allocations: 89.55 kB / 426.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.2518, allocations: 106.8 kB / 427 MB, free: 11.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.2519, allocations: 145 kB / 427.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.252, allocations: 30.08 kB / 427.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.252, allocations: 92.14 kB / 427.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.528e-06/0.252, allocations: 0 / 427.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.2521, allocations: 25.66 kB / 427.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2522, allocations: 314.8 kB / 427.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/0.2523, allocations: 15.98 kB / 427.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-05/0.2523, allocations: 39.36 kB / 427.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.2524, allocations: 51.36 kB / 427.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2524, allocations: 4 kB / 427.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001539/0.2526, allocations: 73.55 kB / 427.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2526, allocations: 7.938 kB / 427.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2526, allocations: 7.984 kB / 427.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2526, allocations: 0 / 427.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.977e-05/0.2526, allocations: 0 / 427.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2526, allocations: 4 kB / 427.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.868e-05/0.2527, allocations: 4.125 kB / 427.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.2527, allocations: 4 kB / 427.8 MB, free: 10.27 MB / 334.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.0001105/0.2528, allocations: 133.6 kB / 427.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.2529, allocations: 53.64 kB / 428 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.2529, allocations: 7.969 kB / 428 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.2529, allocations: 4 kB / 428 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2529, allocations: 0 / 428 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.253, allocations: 4 kB / 428 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.2531, allocations: 117.2 kB / 428.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.036e-06/0.2532, allocations: 7.969 kB / 428.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-06/0.2532, allocations: 4 kB / 428.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2532, allocations: 0 / 428.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2532, allocations: 0 / 428.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2532, allocations: 4 kB / 428.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2532, allocations: 4 kB / 428.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.2534, allocations: 259.5 kB / 428.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.2535, allocations: 15.94 kB / 428.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2535, allocations: 0 / 428.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.2536, allocations: 11.97 kB / 428.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.2536, allocations: 4 kB / 428.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.2536, allocations: 7.938 kB / 428.4 MB, free: 9.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.137e-05/0.2537, allocations: 107.2 kB / 428.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2537, allocations: 0 / 428.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.254, allocations: 7.953 kB / 428.5 MB, free: 9.457 MB / 334.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.0001141/0.2541, allocations: 103.2 kB / 428.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.2543, allocations: 35.91 kB / 428.7 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.2543, allocations: 8.25 kB / 428.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.865e-05/0.2543, allocations: 11.94 kB / 428.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.2548, allocations: 27.95 kB / 428.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.2552, allocations: 197 kB / 428.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.677e-05/0.2553, allocations: 87.12 kB / 429 MB, free: 8.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.2553, allocations: 7.438 kB / 429 MB, free: 8.922 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2553, allocations: 0 / 429 MB, free: 8.922 MB / 334.1 MB Notification: Performance of Templates: time 0.002611/0.2579, allocations: 0.8296 MB / 429.8 MB, free: 8.098 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.953733996022493]