Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001306/0.001306, allocations: 120.4 kB / 20.44 MB, free: 1.461 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.001466/0.001466, allocations: 212.1 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 230.5 MB / 257.4 MB, free: 8.188 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 59.91 kB / 377.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2675, allocations: 53.41 MB / 431.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002738/0.2702, allocations: 0.92 MB / 432.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004662/0.2707, allocations: 143.5 kB / 432.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.2708, allocations: 11.88 kB / 432.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.2709, allocations: 11.86 kB / 432.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.271, allocations: 15.88 kB / 432.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.2713, allocations: 47.89 kB / 432.3 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.2714, allocations: 71.77 kB / 432.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.2716, allocations: 27.97 kB / 432.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.406e-05/0.2717, allocations: 27.86 kB / 432.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2718, allocations: 35.84 kB / 432.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.2718, allocations: 8 kB / 432.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.097e-05/0.2718, allocations: 8 kB / 432.5 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.2719, allocations: 35.84 kB / 432.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.451e-05/0.272, allocations: 39.73 kB / 432.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.2722, allocations: 107.8 kB / 432.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.2722, allocations: 4 kB / 432.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2722, allocations: 0 / 432.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.2722, allocations: 0 / 432.7 MB, free: 5.223 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.0006136/0.2728, allocations: 333.8 kB / 433 MB, free: 4.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.2728, allocations: 16.02 kB / 433 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.2729, allocations: 38.75 kB / 433.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.2729, allocations: 16.84 kB / 433.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.2732, allocations: 153.3 kB / 433.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2732, allocations: 8.375 kB / 433.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.2732, allocations: 4.375 kB / 433.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.2737, allocations: 254.3 kB / 433.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.2737, allocations: 3.938 kB / 433.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.2737, allocations: 0 / 433.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2737, allocations: 4 kB / 433.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.412e-05/0.2738, allocations: 47.91 kB / 433.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.274, allocations: 164.6 kB / 433.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.2743, allocations: 134.9 kB / 433.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.2744, allocations: 88.84 kB / 433.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.2744, allocations: 3.984 kB / 433.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.2744, allocations: 30.56 kB / 434 MB, free: 3.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.2744, allocations: 0 / 434 MB, free: 3.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004151/0.2749, allocations: 180.5 kB / 434.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.2749, allocations: 75.33 kB / 434.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.2751, allocations: 154.2 kB / 434.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.2751, allocations: 37.64 kB / 434.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.2752, allocations: 92.45 kB / 434.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.2752, allocations: 11.95 kB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.2753, allocations: 37.7 kB / 434.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2754, allocations: 322.8 kB / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.153e-05/0.2755, allocations: 23.98 kB / 434.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.2756, allocations: 120.4 kB / 435 MB, free: 2.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.2758, allocations: 153.5 kB / 435.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.2758, allocations: 8 kB / 435.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002472/0.276, allocations: 153.3 kB / 435.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.276, allocations: 12.44 kB / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.276, allocations: 0 / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.2761, allocations: 12 kB / 435.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.2762, allocations: 31.92 kB / 435.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.2762, allocations: 4 kB / 435.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.135e-05/0.2763, allocations: 19.89 kB / 435.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.2763, allocations: 8 kB / 435.4 MB, free: 2.23 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.0001576/0.2765, allocations: 142.5 kB / 435.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.2767, allocations: 141.4 kB / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.2767, allocations: 29.05 kB / 435.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2767, allocations: 4 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2767, allocations: 0 / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2767, allocations: 0 / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.2769, allocations: 160.7 kB / 435.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2769, allocations: 0 / 435.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.277, allocations: 35.98 kB / 435.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.277, allocations: 3.938 kB / 435.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.277, allocations: 0 / 435.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.277, allocations: 0 / 435.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.277, allocations: 7.984 kB / 435.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.2773, allocations: 171.7 kB / 436.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.118e-05/0.2773, allocations: 31.83 kB / 436.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.2774, allocations: 7.938 kB / 436.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.184e-05/0.2774, allocations: 0 / 436.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-06/0.2774, allocations: 4 kB / 436.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.2774, allocations: 4 kB / 436.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.2775, allocations: 119.9 kB / 436.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2775, allocations: 4 kB / 436.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.2778, allocations: 16 kB / 436.2 MB, free: 1.293 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.0007053/0.2785, allocations: 0.7646 MB / 437 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.2787, allocations: 107.8 kB / 437.1 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2787, allocations: 0 / 437.1 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.2787, allocations: 0 / 437.1 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.2791, allocations: 94.91 kB / 437.2 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.281, allocations: 1.72 MB / 438.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.2814, allocations: 0.7201 MB / 439.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.847e-05/0.2814, allocations: 9.078 kB / 439.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.2815, allocations: 35.42 kB / 439.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of SimCode: time 8.51e-07/0.2815, allocations: 0 / 439.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.3141, allocations: 2.816 MB / 442.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.97, allocations: 8.047 kB / 442.5 MB, free: 10.91 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 13.242066375911236]