Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001789/0.001789, allocations: 74.64 kB / 21.24 MB, free: 0.5469 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.002076/0.002076, allocations: 151.6 kB / 24.49 MB, free: 3.727 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.497/1.497, allocations: 173.4 MB / 201.1 MB, free: 12.7 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.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 44.61 kB / 319.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09272/0.09423, allocations: 52.17 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002895/0.09713, allocations: 1.537 MB / 373.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003813/0.09751, allocations: 139.6 kB / 373.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.09758, allocations: 7.938 kB / 373.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.343e-05/0.09768, allocations: 7.922 kB / 373.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.09776, allocations: 11.88 kB / 373.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.09797, allocations: 39.89 kB / 373.3 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.09807, allocations: 39.86 kB / 373.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.09818, allocations: 11.98 kB / 373.4 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.09821, allocations: 15.94 kB / 373.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.09826, allocations: 15.86 kB / 373.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.09828, allocations: 8 kB / 373.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.09829, allocations: 4 kB / 373.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.09835, allocations: 23.84 kB / 373.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.09838, allocations: 15.88 kB / 373.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.0985, allocations: 63.62 kB / 373.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.0985, allocations: 0 / 373.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0985, allocations: 0 / 373.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.118e-06/0.09851, allocations: 0 / 373.5 MB, free: 5.395 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.0004669/0.09898, allocations: 306 kB / 373.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.09902, allocations: 12.91 kB / 373.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.09905, allocations: 16.84 kB / 373.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.09928, allocations: 134.4 kB / 374 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.09929, allocations: 4.375 kB / 374 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.0993, allocations: 4.312 kB / 374 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.09958, allocations: 130.4 kB / 374.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.09959, allocations: 192 / 374.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.0996, allocations: 7.922 kB / 374.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.09963, allocations: 11.94 kB / 374.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.09975, allocations: 31.97 kB / 374.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.1002, allocations: 313.6 kB / 374.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.1003, allocations: 75.78 kB / 374.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.575e-05/0.1004, allocations: 42.55 kB / 374.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1004, allocations: 4 kB / 374.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1004, allocations: 34.56 kB / 374.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.1004, allocations: 0 / 374.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003504/0.1008, allocations: 113.4 kB / 374.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.1009, allocations: 106.8 kB / 374.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.101, allocations: 145.4 kB / 375 MB, free: 3.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.101, allocations: 25.7 kB / 375 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.1011, allocations: 92.5 kB / 375.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.1011, allocations: 8 kB / 375.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.1011, allocations: 25.67 kB / 375.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1013, allocations: 314.8 kB / 375.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.1013, allocations: 23.98 kB / 375.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.1014, allocations: 39.42 kB / 375.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1015, allocations: 59.34 kB / 375.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1015, allocations: 0 / 375.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001823/0.1017, allocations: 89.47 kB / 375.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1017, allocations: 6.812 kB / 375.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1018, allocations: 4 kB / 375.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1018, allocations: 0 / 375.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.674e-05/0.1019, allocations: 12.11 kB / 375.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1019, allocations: 4 kB / 375.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.1019, allocations: 7.953 kB / 375.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1019, allocations: 4 kB / 375.7 MB, free: 2.98 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[2],sample1.u[1],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.0001198/0.102, allocations: 129.8 kB / 375.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.1021, allocations: 57.53 kB / 375.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.1022, allocations: 15.95 kB / 375.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.1022, allocations: 0 / 375.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1022, allocations: 7.938 kB / 375.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1022, allocations: 0 / 375.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.1024, allocations: 125.3 kB / 376 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1024, allocations: 0 / 376 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.1024, allocations: 11.94 kB / 376 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1024, allocations: 0 / 376 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1024, allocations: 0 / 376 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1024, allocations: 0 / 376 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1025, allocations: 7.984 kB / 376 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1027, allocations: 263.5 kB / 376.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.1028, allocations: 23.89 kB / 376.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1028, allocations: 0 / 376.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1029, allocations: 7.984 kB / 376.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.1029, allocations: 144 / 376.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.1029, allocations: 4 kB / 376.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.921e-05/0.103, allocations: 111.2 kB / 376.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.103, allocations: 0 / 376.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1033, allocations: 8 kB / 376.4 MB, free: 2.152 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[2],sample1.u[1],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.0001124/0.1034, allocations: 103.2 kB / 376.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1036, allocations: 51.89 kB / 376.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1036, allocations: 0 / 376.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.459e-05/0.1037, allocations: 23.92 kB / 376.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.1041, allocations: 27.95 kB / 376.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.1044, allocations: 187 kB / 376.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.971e-05/0.1045, allocations: 83.78 kB / 376.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.346e-05/0.1046, allocations: 4 kB / 376.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.1046, allocations: 8.5 kB / 376.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1046, allocations: 0 / 376.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of Templates: time 0.003134/0.1077, allocations: 0.6756 MB / 377.6 MB, free: 0.9609 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.336557519971393]