Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.001871/0.001871, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 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.002144/0.002144, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 18.57 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.492/1.492, allocations: 173.3 MB / 200.8 MB, free: 9.297 MB / 186.7 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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.294e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003911/0.003944, allocations: 0.9129 MB / 268.2 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007308/0.004674, allocations: 151.4 kB / 268.4 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.004781, allocations: 3.938 kB / 268.4 MB, free: 5.645 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.00494, allocations: 11.88 kB / 268.4 MB, free: 5.633 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.00513, allocations: 19.86 kB / 268.4 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.005488, allocations: 43.89 kB / 268.5 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.005707, allocations: 67.7 kB / 268.5 MB, free: 5.504 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.005914, allocations: 35.83 kB / 268.6 MB, free: 5.469 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.866e-05/0.006012, allocations: 31.91 kB / 268.6 MB, free: 5.438 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.006145, allocations: 31.89 kB / 268.6 MB, free: 5.406 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.006187, allocations: 8 kB / 268.6 MB, free: 5.398 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.378e-05/0.00621, allocations: 4 kB / 268.6 MB, free: 5.395 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.00632, allocations: 31.91 kB / 268.7 MB, free: 5.363 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.551e-05/0.006405, allocations: 31.86 kB / 268.7 MB, free: 5.332 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.006672, allocations: 87.69 kB / 268.8 MB, free: 5.246 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.006676, allocations: 0 / 268.8 MB, free: 5.246 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.761e-06/0.006682, allocations: 4 kB / 268.8 MB, free: 5.242 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.006687, allocations: 0 / 268.8 MB, free: 5.242 MB / 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.0008712/0.007559, allocations: 341.7 kB / 269.1 MB, free: 4.875 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.007606, allocations: 8.922 kB / 269.1 MB, free: 4.867 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/0.007701, allocations: 24.83 kB / 269.2 MB, free: 4.844 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.008112, allocations: 157.5 kB / 269.3 MB, free: 4.664 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.008138, allocations: 12.38 kB / 269.3 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.008164, allocations: 8.375 kB / 269.3 MB, free: 4.645 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/0.008944, allocations: 239.5 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.008957, allocations: 4.188 kB / 269.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.008973, allocations: 384 / 269.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.008986, allocations: 4.359 kB / 269.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.009171, allocations: 59.91 kB / 269.6 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.009417, allocations: 117.3 kB / 269.7 MB, free: 4.188 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.009866, allocations: 142.9 kB / 269.9 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.01011, allocations: 80.81 kB / 270 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.01013, allocations: 4 kB / 270 MB, free: 3.953 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.01018, allocations: 30.56 kB / 270 MB, free: 3.914 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.01019, allocations: 3.938 kB / 270 MB, free: 3.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006942/0.01088, allocations: 185.1 kB / 270.2 MB, free: 3.727 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.011, allocations: 63.39 kB / 270.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.01129, allocations: 162.2 kB / 270.4 MB, free: 3.484 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.01133, allocations: 33.7 kB / 270.4 MB, free: 3.445 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.01144, allocations: 92.41 kB / 270.5 MB, free: 3.348 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.01147, allocations: 11.98 kB / 270.5 MB, free: 3.336 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/0.01154, allocations: 21.67 kB / 270.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002697/0.01181, allocations: 322.8 kB / 270.9 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.01184, allocations: 4 kB / 270.9 MB, free: 2.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-05/0.01189, allocations: 25.64 kB / 270.9 MB, free: 2.949 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.842e-05/0.01196, allocations: 25.7 kB / 270.9 MB, free: 2.918 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01196, allocations: 0 / 270.9 MB, free: 2.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001503/0.01211, allocations: 53.64 kB / 271 MB, free: 2.859 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.01213, allocations: 8 kB / 271 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.01214, allocations: 0 / 271 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.01216, allocations: 0 / 271 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.01225, allocations: 7.984 kB / 271 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.01226, allocations: 4 kB / 271 MB, free: 2.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.0123, allocations: 7.891 kB / 271 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.01231, allocations: 0 / 271 MB, free: 2.832 MB / 250.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 0.0001915/0.0125, allocations: 129.8 kB / 271.1 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/0.01289, allocations: 145.6 kB / 271.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.229e-05/0.01296, allocations: 17.12 kB / 271.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01297, allocations: 0 / 271.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.01297, allocations: 0 / 271.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.01298, allocations: 3.938 kB / 271.3 MB, free: 2.523 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.01318, allocations: 129.2 kB / 271.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01319, allocations: 4 kB / 271.4 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.01342, allocations: 27.98 kB / 271.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.01343, allocations: 4 kB / 271.5 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.01346, allocations: 7.938 kB / 271.5 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01346, allocations: 0 / 271.5 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01346, allocations: 4 kB / 271.5 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.0139, allocations: 180.8 kB / 271.6 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.01402, allocations: 27.89 kB / 271.7 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.01405, allocations: 4 kB / 271.7 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.396e-05/0.01412, allocations: 4 kB / 271.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-06/0.01412, allocations: 0 / 271.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.01414, allocations: 4 kB / 271.7 MB, free: 2.086 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001845/0.01432, allocations: 121.1 kB / 271.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01432, allocations: 0 / 271.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003777/0.0147, allocations: 16 kB / 271.8 MB, free: 1.953 MB / 250.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.0002369/0.01493, allocations: 114.3 kB / 271.9 MB, free: 1.836 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.01517, allocations: 59.84 kB / 272 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01518, allocations: 0 / 272 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.01518, allocations: 0 / 272 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.01586, allocations: 95.73 kB / 272.1 MB, free: 1.684 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007432/0.01661, allocations: 260.9 kB / 272.3 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.01701, allocations: 104.9 kB / 272.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.136e-05/0.01705, allocations: 4.5 kB / 272.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.0171, allocations: 12.5 kB / 272.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0171, allocations: 0 / 272.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of Templates: time 0.006857/0.02396, allocations: 1.156 MB / 273.6 MB, free: 140 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.334862251998857]