Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00152/0.00152, allocations: 113 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00169/0.00169, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 71.84 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2619, allocations: 53.31 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002739/0.2647, allocations: 0.9179 MB / 433 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004742/0.2651, allocations: 143.6 kB / 433.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.2653, allocations: 4 kB / 433.1 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.2654, allocations: 15.8 kB / 433.1 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.2656, allocations: 15.91 kB / 433.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.2658, allocations: 43.91 kB / 433.2 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.266, allocations: 71.75 kB / 433.2 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.2662, allocations: 27.98 kB / 433.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.2662, allocations: 27.86 kB / 433.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.2663, allocations: 35.84 kB / 433.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.2663, allocations: 8 kB / 433.3 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.183e-05/0.2664, allocations: 8 kB / 433.4 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.2664, allocations: 39.78 kB / 433.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.037e-05/0.2665, allocations: 39.73 kB / 433.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.2667, allocations: 97.42 kB / 433.5 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2667, allocations: 0 / 433.5 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.2667, allocations: 7.984 kB / 433.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2667, allocations: 0 / 433.5 MB, free: 5.879 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007132/0.2675, allocations: 414.8 kB / 433.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2675, allocations: 8.031 kB / 433.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.2676, allocations: 20.84 kB / 434 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.2679, allocations: 216.1 kB / 434.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2679, allocations: 8.375 kB / 434.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.2679, allocations: 8.375 kB / 434.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.2683, allocations: 242.7 kB / 434.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2684, allocations: 192 / 434.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2684, allocations: 3.938 kB / 434.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.2684, allocations: 7.938 kB / 434.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.444e-05/0.2685, allocations: 47.97 kB / 434.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.2687, allocations: 193.5 kB / 434.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.269, allocations: 137.9 kB / 434.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.2691, allocations: 84.75 kB / 434.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.2691, allocations: 4 kB / 434.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.2691, allocations: 34.56 kB / 434.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.2691, allocations: 0 / 434.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003614/0.2695, allocations: 185.6 kB / 435.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.2696, allocations: 63.41 kB / 435.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.2697, allocations: 161.6 kB / 435.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2698, allocations: 29.7 kB / 435.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.2698, allocations: 92.47 kB / 435.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.2698, allocations: 15.94 kB / 435.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.2699, allocations: 33.7 kB / 435.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2701, allocations: 326.8 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.139e-05/0.2701, allocations: 19.98 kB / 435.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.2702, allocations: 120.7 kB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.2704, allocations: 157.5 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2704, allocations: 4 kB / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002604/0.2707, allocations: 157.3 kB / 436.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2707, allocations: 4 kB / 436.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2707, allocations: 7.938 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.2707, allocations: 12.44 kB / 436.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.2709, allocations: 35.92 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.2709, allocations: 7.938 kB / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.271, allocations: 11.95 kB / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.271, allocations: 11.94 kB / 436.4 MB, free: 2.73 MB / 334.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.0001547/0.2711, allocations: 146.3 kB / 436.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.2713, allocations: 136.2 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.2714, allocations: 21.12 kB / 436.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2714, allocations: 11.98 kB / 436.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.2714, allocations: 3.984 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2714, allocations: 0 / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.2716, allocations: 193.5 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2716, allocations: 0 / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.2717, allocations: 27.98 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2717, allocations: 4 kB / 436.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2717, allocations: 3.938 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2717, allocations: 3.984 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2717, allocations: 0 / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.272, allocations: 172.9 kB / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/0.2721, allocations: 101 kB / 437.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.2721, allocations: 11.94 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.433e-05/0.2721, allocations: 0 / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-06/0.2721, allocations: 0 / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.2721, allocations: 4 kB / 437.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.2722, allocations: 119.2 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2722, allocations: 0 / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.2725, allocations: 24 kB / 437.3 MB, free: 1.664 MB / 334.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.0001347/0.2726, allocations: 107.2 kB / 437.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.2728, allocations: 100.6 kB / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2728, allocations: 0 / 437.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.2728, allocations: 4.188 kB / 437.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.2732, allocations: 97.28 kB / 437.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.2737, allocations: 287.9 kB / 437.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.2741, allocations: 0.72 MB / 438.6 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.2742, allocations: 11.44 kB / 438.6 MB, free: 292 kB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2742, allocations: 0 / 438.6 MB, free: 292 kB / 334.1 MB Notification: Performance of Templates: time 0.003716/0.2779, allocations: 1.372 MB / 440 MB, free: 14.92 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.845255315769464]