Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001683/0.001683, allocations: 111.5 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.001808/0.001808, allocations: 209.2 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.536/1.536, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 59.91 kB / 378.5 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3653, allocations: 53.4 MB / 431.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002736/0.3681, allocations: 0.9272 MB / 432.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004546/0.3685, allocations: 127.5 kB / 433 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.3687, allocations: 8 kB / 433 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.3688, allocations: 11.86 kB / 433 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.3689, allocations: 3.938 kB / 433 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.3693, allocations: 51.88 kB / 433 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.3694, allocations: 59.84 kB / 433.1 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.3696, allocations: 36.19 kB / 433.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.198e-05/0.3696, allocations: 23.81 kB / 433.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/0.3697, allocations: 35.84 kB / 433.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.3697, allocations: 4 kB / 433.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.965e-05/0.3698, allocations: 8 kB / 433.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.886e-05/0.3698, allocations: 31.91 kB / 433.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.779e-05/0.3699, allocations: 27.81 kB / 433.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.3701, allocations: 87.09 kB / 433.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3701, allocations: 0 / 433.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3701, allocations: 0 / 433.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3702, allocations: 0 / 433.3 MB, free: 5.062 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.0006039/0.3708, allocations: 323.1 kB / 433.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.3708, allocations: 8.031 kB / 433.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.821e-05/0.3708, allocations: 8.125 kB / 433.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.683e-05/0.3709, allocations: 42.73 kB / 433.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.371, allocations: 8.891 kB / 433.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.3713, allocations: 146.4 kB / 433.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3714, allocations: 8.375 kB / 433.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3714, allocations: 8.375 kB / 433.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.3719, allocations: 229.9 kB / 434.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3719, allocations: 4 kB / 434.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.3719, allocations: 4 kB / 434.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3719, allocations: 4 kB / 434.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.372, allocations: 39.91 kB / 434.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.3723, allocations: 152.6 kB / 434.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.3726, allocations: 123 kB / 434.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.3728, allocations: 68.83 kB / 434.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3728, allocations: 0 / 434.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.3728, allocations: 38.5 kB / 434.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.3728, allocations: 0 / 434.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004233/0.3733, allocations: 156.6 kB / 434.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.3734, allocations: 67.41 kB / 434.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.3736, allocations: 144.4 kB / 434.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.3736, allocations: 29.7 kB / 434.9 MB, free: 3.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.69e-05/0.3737, allocations: 88.47 kB / 435 MB, free: 3.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3737, allocations: 3.984 kB / 435 MB, free: 3.219 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.938e-05/0.3738, allocations: 49.59 kB / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.374, allocations: 322.8 kB / 435.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.3741, allocations: 16 kB / 435.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.3742, allocations: 121.7 kB / 435.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.3745, allocations: 149.5 kB / 435.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3745, allocations: 0 / 435.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002962/0.3748, allocations: 165.6 kB / 435.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.3748, allocations: 4 kB / 435.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3748, allocations: 4 kB / 435.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-05/0.3748, allocations: 8 kB / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.794e-05/0.3749, allocations: 11.92 kB / 435.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.3749, allocations: 4 kB / 435.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/0.375, allocations: 15.89 kB / 435.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.375, allocations: 8 kB / 435.9 MB, free: 2.238 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0002232/0.3752, allocations: 145.8 kB / 436 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.3754, allocations: 121.5 kB / 436.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.3755, allocations: 17.11 kB / 436.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3755, allocations: 4 kB / 436.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3755, allocations: 0 / 436.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3755, allocations: 0 / 436.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.3756, allocations: 144.7 kB / 436.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3756, allocations: 0 / 436.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.3757, allocations: 11.88 kB / 436.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.3757, allocations: 3.984 kB / 436.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.3757, allocations: 8 kB / 436.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3757, allocations: 4 kB / 436.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3757, allocations: 3.938 kB / 436.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.3759, allocations: 145 kB / 436.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.376, allocations: 31.77 kB / 436.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.3761, allocations: 4 kB / 436.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.3761, allocations: 8 kB / 436.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-06/0.3761, allocations: 0 / 436.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.3761, allocations: 3.984 kB / 436.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.3763, allocations: 113.7 kB / 436.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3763, allocations: 0 / 436.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.3765, allocations: 19.94 kB / 436.6 MB, free: 1.391 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0007725/0.3773, allocations: 0.7529 MB / 437.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.3775, allocations: 87.78 kB / 437.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3775, allocations: 1.062 kB / 437.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.3775, allocations: 0 / 437.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.378, allocations: 79.48 kB / 437.6 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.38, allocations: 1.623 MB / 439.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.3801, allocations: 104.4 kB / 439.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.742e-05/0.3801, allocations: 4.656 kB / 439.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.3802, allocations: 35.42 kB / 439.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of SimCode: time 2.444e-06/0.3802, allocations: 0 / 439.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.4045, allocations: 2.688 MB / 442 MB, free: 11.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.1, allocations: 15.09 kB / 442 MB, free: 11.92 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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],integerConstant.k,integerConstant.y,integerConstant1.k,integerConstant1.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),previous(unitDelay2.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.y [Calling sys.exit(0), Time elapsed: 13.800133956945501]