Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.001296/0.001296, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001416/0.001416, allocations: 168.9 kB / 24.5 MB, free: 3.453 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.421/1.421, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 58.44 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09225/0.09434, allocations: 53.34 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002287/0.09663, allocations: 0.897 MB / 379.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003755/0.09701, allocations: 139.5 kB / 379.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.09708, allocations: 7.938 kB / 379.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.774e-05/0.09718, allocations: 11.86 kB / 380 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.09731, allocations: 31.78 kB / 380 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.09754, allocations: 35.91 kB / 380 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.09768, allocations: 71.81 kB / 380.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.0978, allocations: 27.97 kB / 380.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.09784, allocations: 27.86 kB / 380.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.857e-05/0.09793, allocations: 39.77 kB / 380.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.09795, allocations: 8 kB / 380.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.09797, allocations: 11.94 kB / 380.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.09803, allocations: 27.92 kB / 380.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.09808, allocations: 35.73 kB / 380.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.09824, allocations: 99.45 kB / 380.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.09824, allocations: 3.984 kB / 380.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.09824, allocations: 0 / 380.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.09825, allocations: 0 / 380.4 MB, free: 14.22 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005133/0.09876, allocations: 337.8 kB / 380.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.09879, allocations: 8.031 kB / 380.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.09884, allocations: 16.84 kB / 380.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.09908, allocations: 158.3 kB / 380.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.0991, allocations: 4.312 kB / 380.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.09911, allocations: 16.31 kB / 380.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.09952, allocations: 233.9 kB / 381.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.09953, allocations: 4.188 kB / 381.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.09955, allocations: 11.94 kB / 381.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.09955, allocations: 7.984 kB / 381.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.126e-05/0.09965, allocations: 51.84 kB / 381.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.09979, allocations: 125.2 kB / 381.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.1001, allocations: 139 kB / 381.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.1003, allocations: 80.61 kB / 381.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1003, allocations: 4 kB / 381.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.1003, allocations: 34.5 kB / 381.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.1003, allocations: 0 / 381.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003362/0.1007, allocations: 177.5 kB / 381.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.1007, allocations: 63.41 kB / 381.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1009, allocations: 165.3 kB / 382 MB, free: 12.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1009, allocations: 25.7 kB / 382 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.101, allocations: 100.4 kB / 382.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.101, allocations: 11.95 kB / 382.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.101, allocations: 37.7 kB / 382.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1012, allocations: 322.8 kB / 382.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.1012, allocations: 19.98 kB / 382.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.1014, allocations: 121.7 kB / 382.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.1016, allocations: 161.5 kB / 382.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1016, allocations: 3.938 kB / 382.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003408/0.102, allocations: 149.8 kB / 382.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.102, allocations: 12.03 kB / 382.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.102, allocations: 7.938 kB / 382.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.102, allocations: 7.938 kB / 382.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.1022, allocations: 35.92 kB / 383 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1022, allocations: 4 kB / 383 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.863e-05/0.1023, allocations: 15.89 kB / 383 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.1023, allocations: 15.98 kB / 383 MB, free: 11.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001645/0.1025, allocations: 141.7 kB / 383.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.1028, allocations: 137.5 kB / 383.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.92e-05/0.1028, allocations: 25.11 kB / 383.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1028, allocations: 3.938 kB / 383.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1028, allocations: 4 kB / 383.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1028, allocations: 0 / 383.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.103, allocations: 129.2 kB / 383.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.103, allocations: 0 / 383.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.1032, allocations: 23.98 kB / 383.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1032, allocations: 4 kB / 383.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.1032, allocations: 4 kB / 383.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1032, allocations: 4 kB / 383.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1032, allocations: 3.938 kB / 383.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.1035, allocations: 172.8 kB / 383.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.577e-05/0.1036, allocations: 27.83 kB / 383.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1036, allocations: 4 kB / 383.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.046e-05/0.1037, allocations: 8 kB / 383.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-06/0.1037, allocations: 3.938 kB / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.1037, allocations: 4 kB / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.1038, allocations: 126 kB / 383.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1038, allocations: 0 / 383.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.1042, allocations: 20 kB / 383.8 MB, free: 10.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0001521/0.1044, allocations: 111.8 kB / 383.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.1046, allocations: 95.77 kB / 384 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1046, allocations: 1 kB / 384 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.1046, allocations: 0 / 384 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.1051, allocations: 99.84 kB / 384.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.1057, allocations: 254.2 kB / 384.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.1058, allocations: 117 kB / 384.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.016e-05/0.1059, allocations: 5.156 kB / 384.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.1059, allocations: 16.5 kB / 384.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1059, allocations: 3.938 kB / 384.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of Templates: time 0.005335/0.1113, allocations: 1.291 MB / 385.8 MB, free: 8.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.204122418072075]