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.001687/0.001687, allocations: 119.1 kB / 18.46 MB, free: 4.562 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.002157/0.002157, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.438/1.438, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.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.001482/0.001482, allocations: 59.91 kB / 374.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09461/0.09609, allocations: 53.33 MB / 427.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002833/0.09893, allocations: 1.521 MB / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004093/0.09934, allocations: 155.5 kB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.09941, allocations: 7.938 kB / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.693e-05/0.09951, allocations: 7.922 kB / 429.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.564e-05/0.09959, allocations: 7.938 kB / 429.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.09982, allocations: 43.39 kB / 429.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.09993, allocations: 39.86 kB / 429.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1, allocations: 15.98 kB / 429.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.126e-05/0.1001, allocations: 11.94 kB / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.592e-05/0.1001, allocations: 19.86 kB / 429.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.1001, allocations: 8 kB / 429.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.1001, allocations: 4 kB / 429.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.1002, allocations: 15.92 kB / 429.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.1002, allocations: 23.8 kB / 429.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.1004, allocations: 55.75 kB / 429.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1004, allocations: 0 / 429.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1004, allocations: 0 / 429.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1004, allocations: 0 / 429.4 MB, free: 2.344 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.0005085/0.1009, allocations: 375.1 kB / 429.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1009, allocations: 12.03 kB / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.1009, allocations: 12.89 kB / 429.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1012, allocations: 192.1 kB / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.1012, allocations: 12.38 kB / 430 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.1012, allocations: 384 / 430 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.1015, allocations: 118.5 kB / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1015, allocations: 192 / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1015, allocations: 7.938 kB / 430.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.1015, allocations: 4 kB / 430.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.1016, allocations: 31.91 kB / 430.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.1021, allocations: 357.9 kB / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.1022, allocations: 91.64 kB / 430.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.1023, allocations: 26.64 kB / 430.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.1023, allocations: 11.98 kB / 430.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1023, allocations: 38.48 kB / 430.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1023, allocations: 0 / 430.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002965/0.1026, allocations: 89.56 kB / 430.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.1027, allocations: 103.2 kB / 430.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1028, allocations: 148 kB / 431 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1028, allocations: 25.7 kB / 431 MB, free: 476 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.1029, allocations: 88.14 kB / 431.1 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.1029, allocations: 7.891 kB / 431.1 MB, free: 376 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.1029, allocations: 29.64 kB / 431.1 MB, free: 340 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1031, allocations: 314.8 kB / 431.5 MB, free: 16 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/0.1031, allocations: 15.92 kB / 431.5 MB, free: 0 / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.1032, allocations: 39.42 kB / 431.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1033, allocations: 51.3 kB / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1033, allocations: 0 / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001552/0.1034, allocations: 81.56 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1035, allocations: 4 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1035, allocations: 0 / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1035, allocations: 4 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.759e-05/0.1035, allocations: 0 / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1035, allocations: 0 / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.1035, allocations: 7.984 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1035, allocations: 4 kB / 431.7 MB, free: 15.78 MB / 366.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.1036, allocations: 129.8 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.1037, allocations: 49.64 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.1038, allocations: 11.88 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.1038, allocations: 7.984 kB / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1038, allocations: 0 / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1038, allocations: 0 / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.104, allocations: 173.6 kB / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.104, allocations: 0 / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-06/0.1041, allocations: 4 kB / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1041, allocations: 4.031 kB / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.1041, allocations: 0 / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1041, allocations: 4 kB / 432 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1041, allocations: 7.938 kB / 432 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1043, allocations: 259.5 kB / 432.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/0.1044, allocations: 93.05 kB / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.1044, allocations: 0 / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.1045, allocations: 7.984 kB / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1045, allocations: 7.938 kB / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1045, allocations: 4 kB / 432.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.428e-05/0.1046, allocations: 109.8 kB / 432.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1046, allocations: 0 / 432.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1049, allocations: 4 kB / 432.5 MB, free: 14.81 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.0001076/0.105, allocations: 113.7 kB / 432.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.1051, allocations: 39.97 kB / 432.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1051, allocations: 3.938 kB / 432.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.611e-05/0.1052, allocations: 8 kB / 432.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1056, allocations: 27.94 kB / 432.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.106, allocations: 217.2 kB / 432.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.1063, allocations: 0.6962 MB / 433.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.1063, allocations: 7.438 kB / 433.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1063, allocations: 0 / 433.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Templates: time 0.002418/0.1087, allocations: 0.8063 MB / 434.4 MB, free: 12.83 MB / 366.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 -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: 6.7831094120047055]