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.001286/0.001286, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.001416/0.001416, allocations: 204.8 kB / 23.72 MB, free: 4.5 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.531/1.531, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.001941/0.001941, allocations: 67.84 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3343, allocations: 53.4 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002481/0.3368, allocations: 0.9117 MB / 432 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003814/0.3372, allocations: 139.5 kB / 432.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3373, allocations: 7.938 kB / 432.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.3374, allocations: 15.86 kB / 432.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.3376, allocations: 15.86 kB / 432.2 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.3378, allocations: 43.89 kB / 432.3 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.338, allocations: 67.83 kB / 432.3 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.3381, allocations: 23.98 kB / 432.4 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.131e-05/0.3381, allocations: 31.8 kB / 432.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.3382, allocations: 43.83 kB / 432.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.3383, allocations: 7.938 kB / 432.4 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.115e-05/0.3383, allocations: 11.94 kB / 432.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.3384, allocations: 31.91 kB / 432.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.3384, allocations: 27.75 kB / 432.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.3386, allocations: 101.2 kB / 432.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3386, allocations: 0 / 432.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3386, allocations: 0 / 432.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.3386, allocations: 0 / 432.6 MB, free: 4.984 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.0005582/0.3392, allocations: 337.8 kB / 432.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3392, allocations: 15.92 kB / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.3392, allocations: 50.73 kB / 433 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.3393, allocations: 12.84 kB / 433 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.3395, allocations: 153.4 kB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3395, allocations: 8.375 kB / 433.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.3396, allocations: 4.375 kB / 433.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.34, allocations: 254.1 kB / 433.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.34, allocations: 3.938 kB / 433.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.34, allocations: 4 kB / 433.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3401, allocations: 0 / 433.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.801e-05/0.3401, allocations: 47.97 kB / 433.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.3403, allocations: 156.6 kB / 433.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.3406, allocations: 138.9 kB / 433.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.3407, allocations: 76.91 kB / 433.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.3407, allocations: 4 kB / 433.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.3408, allocations: 38.48 kB / 433.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.3408, allocations: 4 kB / 433.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003308/0.3411, allocations: 180.8 kB / 434.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.3412, allocations: 59.41 kB / 434.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.3413, allocations: 166.2 kB / 434.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.3413, allocations: 25.7 kB / 434.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.3414, allocations: 92.47 kB / 434.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.3414, allocations: 15.94 kB / 434.4 MB, free: 3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.3415, allocations: 37.7 kB / 434.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3417, allocations: 318.8 kB / 434.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.3417, allocations: 23.98 kB / 434.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3418, allocations: 125.7 kB / 434.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.342, allocations: 153.5 kB / 435.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.342, allocations: 0 / 435.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002374/0.3423, allocations: 165.4 kB / 435.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3423, allocations: 11.94 kB / 435.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3423, allocations: 4 kB / 435.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3423, allocations: 4 kB / 435.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.3424, allocations: 39.92 kB / 435.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3424, allocations: 8 kB / 435.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.3425, allocations: 15.83 kB / 435.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.3425, allocations: 12 kB / 435.3 MB, free: 1.98 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.000155/0.3427, allocations: 146.8 kB / 435.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.3429, allocations: 141.4 kB / 435.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.361e-05/0.3429, allocations: 21.12 kB / 435.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3429, allocations: 0 / 435.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3429, allocations: 4 kB / 435.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.343, allocations: 3.984 kB / 435.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.3431, allocations: 152.7 kB / 435.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3431, allocations: 0 / 435.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.3432, allocations: 27.92 kB / 435.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3432, allocations: 7.938 kB / 435.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3432, allocations: 4 kB / 435.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3432, allocations: 0 / 435.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3432, allocations: 0 / 435.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.3435, allocations: 168.1 kB / 436 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.3435, allocations: 31.83 kB / 436 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.3436, allocations: 11.88 kB / 436 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.223e-05/0.3436, allocations: 4 kB / 436 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-06/0.3436, allocations: 0 / 436 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3436, allocations: 8 kB / 436 MB, free: 1.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.82e-05/0.3437, allocations: 115.9 kB / 436.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3437, allocations: 4 kB / 436.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.344, allocations: 20 kB / 436.2 MB, free: 1.055 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.0007001/0.3447, allocations: 0.773 MB / 436.9 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.3449, allocations: 96.45 kB / 437 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3449, allocations: 4.375 kB / 437 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.3449, allocations: 4 kB / 437 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.3452, allocations: 87.3 kB / 437.1 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.3471, allocations: 1.73 MB / 438.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.3472, allocations: 109 kB / 439 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.249e-05/0.3472, allocations: 5.094 kB / 439 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.3473, allocations: 31.42 kB / 439 MB, free: 14 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3473, allocations: 0 / 439 MB, free: 14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/0.3804, allocations: 3.244 MB / 442.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.08, allocations: 13.12 kB / 442.3 MB, free: 10.87 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.635240936186165]