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.001279/0.001279, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001575/0.001575, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.462/1.462, allocations: 230.5 MB / 258.2 MB, free: 8 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.001907/0.001907, allocations: 63.89 kB / 378.6 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3526, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002355/0.355, allocations: 0.9239 MB / 432.9 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003987/0.3554, allocations: 139.5 kB / 433 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.751e-05/0.3555, allocations: 11.94 kB / 433 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.3556, allocations: 15.86 kB / 433.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.3557, allocations: 15.86 kB / 433.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.356, allocations: 39.95 kB / 433.1 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.3561, allocations: 71.77 kB / 433.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.3562, allocations: 31.97 kB / 433.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.415e-05/0.3563, allocations: 27.86 kB / 433.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.98e-05/0.3564, allocations: 39.78 kB / 433.3 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.3564, allocations: 8 kB / 433.3 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.3564, allocations: 4 kB / 433.3 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.857e-05/0.3565, allocations: 39.84 kB / 433.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.369e-05/0.3566, allocations: 39.73 kB / 433.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.3567, allocations: 103.9 kB / 433.5 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3567, allocations: 0 / 433.5 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3567, allocations: 0 / 433.5 MB, free: 5.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3567, allocations: 0 / 433.5 MB, free: 5.199 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.000573/0.3573, allocations: 337.8 kB / 433.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3574, allocations: 8.031 kB / 433.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.311e-05/0.3574, allocations: 4.188 kB / 433.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.3574, allocations: 46.67 kB / 433.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.3575, allocations: 16.84 kB / 433.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.3577, allocations: 157.4 kB / 434 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.3577, allocations: 384 / 434 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3577, allocations: 12.38 kB / 434 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.3582, allocations: 249.8 kB / 434.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3582, allocations: 0 / 434.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3582, allocations: 4 kB / 434.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3582, allocations: 4 kB / 434.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.437e-05/0.3583, allocations: 50.58 kB / 434.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.3585, allocations: 168.6 kB / 434.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.3587, allocations: 139 kB / 434.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.3588, allocations: 84.75 kB / 434.7 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.3588, allocations: 3.938 kB / 434.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3589, allocations: 42.44 kB / 434.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.3589, allocations: 0 / 434.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000312/0.3592, allocations: 169.8 kB / 434.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.3593, allocations: 67.06 kB / 435 MB, free: 3.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.3594, allocations: 162.2 kB / 435.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3594, allocations: 29.7 kB / 435.2 MB, free: 3.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.3595, allocations: 88.47 kB / 435.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.3595, allocations: 15.94 kB / 435.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.3595, allocations: 37.7 kB / 435.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3597, allocations: 322.8 kB / 435.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.894e-05/0.3597, allocations: 19.98 kB / 435.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.3598, allocations: 124.2 kB / 435.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.36, allocations: 153.5 kB / 435.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.36, allocations: 8 kB / 435.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002286/0.3603, allocations: 161.2 kB / 436.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3603, allocations: 7.938 kB / 436.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3603, allocations: 4.5 kB / 436.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3603, allocations: 12 kB / 436.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3604, allocations: 35.92 kB / 436.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3604, allocations: 4 kB / 436.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.3605, allocations: 11.89 kB / 436.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3605, allocations: 12 kB / 436.2 MB, free: 2.195 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.0001388/0.3606, allocations: 142.5 kB / 436.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.3609, allocations: 137.4 kB / 436.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.3609, allocations: 25.12 kB / 436.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3609, allocations: 7.938 kB / 436.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3609, allocations: 0 / 436.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3609, allocations: 3.984 kB / 436.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.3611, allocations: 160.7 kB / 436.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3611, allocations: 0 / 436.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.3612, allocations: 31.92 kB / 436.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3612, allocations: 3.938 kB / 436.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3612, allocations: 7.984 kB / 436.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3612, allocations: 0 / 436.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3612, allocations: 3.938 kB / 436.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.3614, allocations: 169 kB / 436.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.93e-05/0.3615, allocations: 35.77 kB / 436.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3615, allocations: 0 / 436.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.035e-05/0.3615, allocations: 4 kB / 436.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-06/0.3615, allocations: 7.938 kB / 436.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3615, allocations: 0 / 436.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.203e-05/0.3616, allocations: 123.9 kB / 437 MB, free: 1.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3616, allocations: 4 kB / 437 MB, free: 1.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.3619, allocations: 16 kB / 437 MB, free: 1.254 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.000648/0.3625, allocations: 0.7652 MB / 437.8 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.3627, allocations: 102.8 kB / 437.9 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3627, allocations: 0 / 437.9 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.3627, allocations: 0 / 437.9 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3631, allocations: 99.47 kB / 438 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.3648, allocations: 1.718 MB / 439.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3652, allocations: 0.724 MB / 440.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.995e-05/0.3652, allocations: 9.078 kB / 440.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.3652, allocations: 27.44 kB / 440.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3652, allocations: 0 / 440.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.3879, allocations: 2.849 MB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.31, allocations: 11.61 kB / 443.3 MB, free: 10.86 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.907610124966595]