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.001065/0.001065, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.00127/0.00127, allocations: 166.6 kB / 24.99 MB, free: 8.789 MB / 18.57 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.098/1.098, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 273.1 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.308e-05, allocations: 2.312 kB / 273.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00225/0.002283, allocations: 0.9273 MB / 274 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004587/0.002742, allocations: 155.4 kB / 274.1 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.002846, allocations: 0 / 274.1 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.002973, allocations: 19.8 kB / 274.2 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.00311, allocations: 3.938 kB / 274.2 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.00334, allocations: 51.83 kB / 274.2 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.00348, allocations: 63.81 kB / 274.3 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.003615, allocations: 27.92 kB / 274.3 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.00368, allocations: 47.83 kB / 274.3 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.00377, allocations: 23.91 kB / 274.4 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.0038, allocations: 8 kB / 274.4 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/0.003816, allocations: 8 kB / 274.4 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.27e-05/0.003889, allocations: 35.89 kB / 274.4 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.003936, allocations: 19.92 kB / 274.4 MB, free: 488 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.004101, allocations: 71.73 kB / 274.5 MB, free: 416 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.004104, allocations: 0 / 274.5 MB, free: 416 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004105, allocations: 0 / 274.5 MB, free: 416 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.004111, allocations: 0 / 274.5 MB, free: 416 kB / 250.7 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.0004921/0.004603, allocations: 444 kB / 274.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.004644, allocations: 11.97 kB / 275 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.004699, allocations: 24.84 kB / 275 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.004929, allocations: 161.1 kB / 275.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.00494, allocations: 8.375 kB / 275.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.004955, allocations: 8.359 kB / 275.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.005238, allocations: 172.7 kB / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.005245, allocations: 4.188 kB / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.005258, allocations: 8.375 kB / 275.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.005266, allocations: 384 / 275.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.829e-05/0.005304, allocations: 15.94 kB / 275.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.005459, allocations: 148.5 kB / 275.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.005647, allocations: 99.45 kB / 275.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.475e-05/0.005721, allocations: 50.91 kB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.00573, allocations: 4 kB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.005765, allocations: 37.39 kB / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.005767, allocations: 0 / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002329/0.005999, allocations: 129.8 kB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.006061, allocations: 59.41 kB / 275.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.006199, allocations: 224.2 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.006212, allocations: 25.7 kB / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.006273, allocations: 139.2 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.006291, allocations: 7.938 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.006331, allocations: 31.38 kB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.006473, allocations: 0.4922 MB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.006491, allocations: 4 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.551e-05/0.006517, allocations: 19.38 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.006559, allocations: 35.3 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.006562, allocations: 4 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.33e-05/0.006646, allocations: 53.59 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.006661, allocations: 4 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.006668, allocations: 4 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.006683, allocations: 0 / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.006759, allocations: 8 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.006769, allocations: 3.984 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.006788, allocations: 3.938 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.006795, allocations: 8.062 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$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 (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 9.843e-05/0.006894, allocations: 156.6 kB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.00701, allocations: 101.5 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.007057, allocations: 25.11 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.00706, allocations: 0 / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.007065, allocations: 0 / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.00707, allocations: 3.938 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.427e-05/0.007154, allocations: 140.5 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.007156, allocations: 0 / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.118e-05/0.007247, allocations: 23.98 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.007251, allocations: 8.094 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.007262, allocations: 7.984 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.007263, allocations: 0 / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.007265, allocations: 0 / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.00741, allocations: 155.5 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.007465, allocations: 27.89 kB / 277.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.007496, allocations: 7.938 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.007516, allocations: 0 / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-06/0.007523, allocations: 4 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.007532, allocations: 4 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.772e-05/0.00761, allocations: 154.2 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00761, allocations: 4 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001549/0.007764, allocations: 12 kB / 277.7 MB, free: 12.88 MB / 266.7 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.0001258/0.00789, allocations: 111.8 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.008012, allocations: 47.55 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.008014, allocations: 0 / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.008015, allocations: 0 / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.008305, allocations: 71.92 kB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.008624, allocations: 226.6 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.51e-05/0.008669, allocations: 79.33 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.179e-05/0.008691, allocations: 8.484 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.008721, allocations: 12.5 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.008722, allocations: 0 / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of Templates: time 0.003276/0.012, allocations: 1.161 MB / 279.4 MB, free: 11.14 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.096330746077001]