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.00146/0.00146, allocations: 124.5 kB / 18.46 MB, free: 4.613 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.001538/0.001538, allocations: 190.7 kB / 21.4 MB, free: 1.684 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.391/1.391, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.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.001574/0.001574, allocations: 55.86 kB / 366.8 MB, free: 448 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.0952, allocations: 52.14 MB / 418.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003105/0.09831, allocations: 1.524 MB / 420.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004237/0.09873, allocations: 155.5 kB / 420.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.0988, allocations: 0 / 420.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.372e-05/0.09889, allocations: 3.938 kB / 420.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.417e-05/0.09898, allocations: 11.92 kB / 420.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.0992, allocations: 39.84 kB / 420.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.09932, allocations: 43.84 kB / 420.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.09943, allocations: 12 kB / 420.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.09947, allocations: 15.92 kB / 420.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.09951, allocations: 19.86 kB / 420.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.09953, allocations: 4 kB / 420.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.09954, allocations: 4 kB / 420.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.09961, allocations: 15.92 kB / 420.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.09965, allocations: 27.8 kB / 420.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.09977, allocations: 47.77 kB / 420.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.09977, allocations: 3.938 kB / 420.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09978, allocations: 4 kB / 420.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.09979, allocations: 0 / 420.9 MB, free: 10.27 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.0005027/0.1003, allocations: 383 kB / 421.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1003, allocations: 12.03 kB / 421.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.1004, allocations: 12.89 kB / 421.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1006, allocations: 188.2 kB / 421.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.1007, allocations: 4.375 kB / 421.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.1007, allocations: 8.375 kB / 421.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.1009, allocations: 114.5 kB / 421.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1009, allocations: 192 / 421.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.101, allocations: 7.938 kB / 421.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.101, allocations: 0 / 421.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1011, allocations: 31.92 kB / 421.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.1015, allocations: 358 kB / 422 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.1017, allocations: 87.72 kB / 422.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.593e-05/0.1017, allocations: 30.56 kB / 422.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.1018, allocations: 4 kB / 422.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1018, allocations: 38.5 kB / 422.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1018, allocations: 0 / 422.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003022/0.1021, allocations: 97.55 kB / 422.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.1022, allocations: 106.8 kB / 422.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.1023, allocations: 136.3 kB / 422.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1023, allocations: 29.7 kB / 422.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.1024, allocations: 96.08 kB / 422.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.1024, allocations: 4.312 kB / 422.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.1024, allocations: 29.67 kB / 422.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1026, allocations: 314.8 kB / 422.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.1026, allocations: 12 kB / 422.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/0.1027, allocations: 35.42 kB / 423 MB, free: 7.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1028, allocations: 55.3 kB / 423 MB, free: 7.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1028, allocations: 0 / 423 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001533/0.1029, allocations: 77.61 kB / 423.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1029, allocations: 4 kB / 423.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.103, allocations: 3.938 kB / 423.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.103, allocations: 8.125 kB / 423.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.099e-05/0.103, allocations: 7.922 kB / 423.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.103, allocations: 0 / 423.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.103, allocations: 4 kB / 423.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.103, allocations: 4 kB / 423.1 MB, free: 7.707 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.0001032/0.1031, allocations: 129.7 kB / 423.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.299e-05/0.1032, allocations: 45.75 kB / 423.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.1033, allocations: 19.84 kB / 423.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.1033, allocations: 8.031 kB / 423.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1033, allocations: 0 / 423.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1033, allocations: 0 / 423.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.1035, allocations: 177.5 kB / 423.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1035, allocations: 3.938 kB / 423.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-06/0.1035, allocations: 4 kB / 423.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1035, allocations: 0 / 423.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1035, allocations: 3.984 kB / 423.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1035, allocations: 4 kB / 423.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1035, allocations: 0 / 423.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.1038, allocations: 255.6 kB / 423.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.1039, allocations: 89.05 kB / 423.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1039, allocations: 3.984 kB / 423.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.104, allocations: 4 kB / 423.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.104, allocations: 7.922 kB / 423.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.104, allocations: 12 kB / 423.9 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.883e-05/0.1041, allocations: 101.5 kB / 424 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1041, allocations: 3.938 kB / 424 MB, free: 6.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1044, allocations: 11.95 kB / 424 MB, free: 6.734 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.0001127/0.1045, allocations: 105.3 kB / 424.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.1046, allocations: 36.11 kB / 424.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1046, allocations: 4.062 kB / 424.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.752e-05/0.1047, allocations: 15.98 kB / 424.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.1051, allocations: 23.95 kB / 424.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.1055, allocations: 204.8 kB / 424.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.1058, allocations: 0.7041 MB / 425.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.1059, allocations: 15.38 kB / 425.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1059, allocations: 4 kB / 425.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of Templates: time 0.002283/0.1081, allocations: 0.8086 MB / 425.9 MB, free: 4.758 MB / 350.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.45451753702946]