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.001475/0.001475, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001537/0.001537, allocations: 209.4 kB / 24.51 MB, free: 3.941 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.453/1.453, allocations: 230.5 MB / 258.2 MB, free: 7.801 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 63.91 kB / 378.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3383, allocations: 53.4 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002532/0.3408, allocations: 0.897 MB / 432.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004356/0.3412, allocations: 147.5 kB / 432.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.707e-05/0.3413, allocations: 4 kB / 432.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.3414, allocations: 11.86 kB / 433 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.3416, allocations: 15.86 kB / 433 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.3418, allocations: 47.91 kB / 433 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.342, allocations: 71.75 kB / 433.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3421, allocations: 26.09 kB / 433.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.3422, allocations: 35.86 kB / 433.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3423, allocations: 39.78 kB / 433.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.3423, allocations: 4 kB / 433.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.3423, allocations: 8 kB / 433.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.3424, allocations: 31.89 kB / 433.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.3425, allocations: 35.75 kB / 433.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.3426, allocations: 107.4 kB / 433.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3426, allocations: 0 / 433.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3426, allocations: 0 / 433.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3426, allocations: 0 / 433.4 MB, free: 5.004 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.0005712/0.3432, allocations: 337.8 kB / 433.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3433, allocations: 16.02 kB / 433.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.647e-05/0.3433, allocations: 4.188 kB / 433.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.3433, allocations: 34.75 kB / 433.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.3434, allocations: 16.84 kB / 433.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.3436, allocations: 161.3 kB / 433.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-06/0.3436, allocations: 384 / 433.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3436, allocations: 16.31 kB / 433.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.3441, allocations: 249.9 kB / 434.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3441, allocations: 0 / 434.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3441, allocations: 7.938 kB / 434.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3441, allocations: 4 kB / 434.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.831e-05/0.3442, allocations: 43.97 kB / 434.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.3444, allocations: 156.6 kB / 434.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.3446, allocations: 142.2 kB / 434.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3448, allocations: 80.83 kB / 434.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.3448, allocations: 7.984 kB / 434.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3448, allocations: 38.48 kB / 434.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.3448, allocations: 0 / 434.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003282/0.3451, allocations: 177.8 kB / 434.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.3452, allocations: 59.41 kB / 434.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3454, allocations: 162.2 kB / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3454, allocations: 29.7 kB / 435.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.3454, allocations: 88.47 kB / 435.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.3455, allocations: 15.94 kB / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.3455, allocations: 37.7 kB / 435.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3456, allocations: 326.8 kB / 435.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.3457, allocations: 19.98 kB / 435.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.3458, allocations: 121.7 kB / 435.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.346, allocations: 149.5 kB / 435.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.346, allocations: 7.938 kB / 435.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002263/0.3462, allocations: 165.2 kB / 436 MB, free: 2.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3462, allocations: 7.938 kB / 436 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3462, allocations: 4 kB / 436 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.3462, allocations: 8 kB / 436 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3464, allocations: 35.86 kB / 436 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.3464, allocations: 8.438 kB / 436.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.3464, allocations: 11.94 kB / 436.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.3465, allocations: 12 kB / 436.1 MB, free: 2.004 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.0001329/0.3466, allocations: 142.6 kB / 436.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.3468, allocations: 148.6 kB / 436.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.3468, allocations: 17.12 kB / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3468, allocations: 0 / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3468, allocations: 0 / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3468, allocations: 3.984 kB / 436.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.347, allocations: 152.7 kB / 436.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.347, allocations: 8 kB / 436.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.3471, allocations: 27.98 kB / 436.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.3471, allocations: 3.938 kB / 436.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3471, allocations: 4 kB / 436.6 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3471, allocations: 4 kB / 436.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3471, allocations: 0 / 436.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.3473, allocations: 168.9 kB / 436.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.3474, allocations: 31.77 kB / 436.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3474, allocations: 4 kB / 436.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.254e-05/0.3474, allocations: 4 kB / 436.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-06/0.3474, allocations: 4 kB / 436.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.3475, allocations: 4 kB / 436.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.877e-05/0.3475, allocations: 127.9 kB / 436.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3475, allocations: 0 / 436.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.3478, allocations: 16 kB / 436.9 MB, free: 1.078 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.0006556/0.3484, allocations: 0.773 MB / 437.7 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.3486, allocations: 108.2 kB / 437.8 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3487, allocations: 0 / 437.8 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3487, allocations: 0 / 437.8 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.3491, allocations: 94 kB / 437.9 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.3507, allocations: 1.724 MB / 439.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.3508, allocations: 109 kB / 439.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.808e-05/0.3509, allocations: 13.02 kB / 439.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.3509, allocations: 27.44 kB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3509, allocations: 0 / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.3756, allocations: 2.917 MB / 442.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.21, allocations: 11.92 kB / 442.7 MB, free: 11.22 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] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:assignClock1.n,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const.k,const.y,const1.k,const1.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),previous(unitDelay2.u),sum1.k[1],sum1.k[2],sum1.nu,sum1.u[1],sum1.u[2],sum1.y,sum2.k[1],sum2.k[2],sum2.nu,sum2.u[1],sum2.u[2],sum2.y,time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start [Calling sys.exit(0), Time elapsed: 13.814865584019572]