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.001293/0.001293, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001498/0.001498, allocations: 214 kB / 23.74 MB, free: 4.66 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.407/1.407, allocations: 230.5 MB / 257.4 MB, free: 8.004 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.89 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2572, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002647/0.2599, allocations: 0.924 MB / 432.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004427/0.2603, allocations: 131.5 kB / 432.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2604, allocations: 4 kB / 432.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.2605, allocations: 11.86 kB / 432.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.2607, allocations: 15.86 kB / 432.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.2609, allocations: 47.95 kB / 432.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.2611, allocations: 63.78 kB / 432.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2612, allocations: 32.2 kB / 432.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.038e-05/0.2612, allocations: 19.92 kB / 432.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.2613, allocations: 35.78 kB / 432.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.2613, allocations: 4 kB / 432.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.571e-05/0.2613, allocations: 8 kB / 432.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.824e-05/0.2614, allocations: 27.92 kB / 432.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.55e-05/0.2615, allocations: 43.67 kB / 432.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.2617, allocations: 88.41 kB / 432.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2617, allocations: 4 kB / 432.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2617, allocations: 3.938 kB / 432.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2617, allocations: 0 / 432.6 MB, free: 5.238 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.0004576/0.2621, allocations: 317.5 kB / 432.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2622, allocations: 12.03 kB / 433 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.707e-05/0.2622, allocations: 42.73 kB / 433 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.2623, allocations: 8.891 kB / 433 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.2625, allocations: 138.4 kB / 433.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2626, allocations: 16.31 kB / 433.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.2626, allocations: 8.375 kB / 433.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.263, allocations: 226.1 kB / 433.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2631, allocations: 3.938 kB / 433.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2631, allocations: 12 kB / 433.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2631, allocations: 0 / 433.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.022e-05/0.2632, allocations: 35.97 kB / 433.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.2633, allocations: 160.6 kB / 433.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.2636, allocations: 119 kB / 433.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.2637, allocations: 76.2 kB / 433.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.2638, allocations: 4 kB / 433.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.2638, allocations: 38.5 kB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.183e-06/0.2638, allocations: 0 / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002992/0.2641, allocations: 153.5 kB / 434 MB, free: 3.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.2642, allocations: 59.41 kB / 434 MB, free: 3.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.2643, allocations: 148.4 kB / 434.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.2643, allocations: 29.7 kB / 434.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.2644, allocations: 88.47 kB / 434.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.2644, allocations: 11.98 kB / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.2645, allocations: 41.66 kB / 434.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2646, allocations: 318.8 kB / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.638e-05/0.2647, allocations: 19.98 kB / 434.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.2648, allocations: 121.7 kB / 434.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.265, allocations: 149.5 kB / 434.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.265, allocations: 0 / 434.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002489/0.2653, allocations: 157.2 kB / 435.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.2653, allocations: 11.94 kB / 435.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2653, allocations: 4 kB / 435.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2653, allocations: 7.938 kB / 435.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.47e-05/0.2653, allocations: 11.94 kB / 435.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.2654, allocations: 7.984 kB / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.2654, allocations: 16.39 kB / 435.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.2654, allocations: 12 kB / 435.2 MB, free: 2.414 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.0001367/0.2656, allocations: 133.8 kB / 435.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.2657, allocations: 117.5 kB / 435.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.2658, allocations: 25.05 kB / 435.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2658, allocations: 0 / 435.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2658, allocations: 4 kB / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2658, allocations: 0 / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2659, allocations: 156.7 kB / 435.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2659, allocations: 4 kB / 435.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.2659, allocations: 11.94 kB / 435.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2659, allocations: 7.938 kB / 435.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.266, allocations: 0 / 435.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.266, allocations: 0 / 435.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.266, allocations: 0 / 435.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.2662, allocations: 152.5 kB / 435.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.2662, allocations: 31.77 kB / 435.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.2662, allocations: 15.94 kB / 435.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.2663, allocations: 0 / 435.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-06/0.2663, allocations: 0 / 435.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.2663, allocations: 11.98 kB / 435.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.21e-05/0.2664, allocations: 113.8 kB / 435.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2664, allocations: 0 / 435.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.2666, allocations: 16 kB / 436 MB, free: 1.559 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.0007282/0.2673, allocations: 0.7379 MB / 436.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.2675, allocations: 92.83 kB / 436.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2675, allocations: 0 / 436.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.1e-07/0.2675, allocations: 4 kB / 436.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.2679, allocations: 79.55 kB / 436.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.2695, allocations: 1.632 MB / 438.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.2698, allocations: 0.7083 MB / 439.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.592e-05/0.2699, allocations: 12.58 kB / 439.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.2699, allocations: 31.42 kB / 439.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2699, allocations: 4 kB / 439.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.3038, allocations: 2.624 MB / 441.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.98, allocations: 11.8 kB / 441.9 MB, free: 11.51 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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.307090082904324]