Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.36/1.36, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 47.94 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2414, allocations: 53.36 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002145/0.2436, allocations: 0.9399 MB / 432.9 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003216/0.2439, allocations: 131.5 kB / 433 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.244, allocations: 3.938 kB / 433 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.191e-05/0.244, allocations: 7.875 kB / 433 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.291e-05/0.2441, allocations: 15.92 kB / 433 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.2443, allocations: 46.89 kB / 433.1 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.2444, allocations: 63.83 kB / 433.1 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2446, allocations: 32.22 kB / 433.2 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.2446, allocations: 23.92 kB / 433.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.098e-05/0.2446, allocations: 35.78 kB / 433.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2447, allocations: 4 kB / 433.2 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.2447, allocations: 4 kB / 433.2 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.2447, allocations: 31.91 kB / 433.3 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.2448, allocations: 35.73 kB / 433.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.2449, allocations: 92.58 kB / 433.4 MB, free: 5.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2449, allocations: 0 / 433.4 MB, free: 5.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2449, allocations: 0 / 433.4 MB, free: 5.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.2449, allocations: 0 / 433.4 MB, free: 5.402 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.0003974/0.2453, allocations: 321.6 kB / 433.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2454, allocations: 12.02 kB / 433.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.341e-05/0.2454, allocations: 4.188 kB / 433.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.2454, allocations: 38.75 kB / 433.7 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.2454, allocations: 8.891 kB / 433.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.2457, allocations: 150.3 kB / 433.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.2457, allocations: 8.375 kB / 433.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.2457, allocations: 12.31 kB / 433.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.2461, allocations: 230.2 kB / 434.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2461, allocations: 0 / 434.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2461, allocations: 4 kB / 434.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2461, allocations: 4 kB / 434.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.059e-05/0.2462, allocations: 35.98 kB / 434.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.2463, allocations: 160.6 kB / 434.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.2465, allocations: 120.5 kB / 434.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.2466, allocations: 73.11 kB / 434.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.2466, allocations: 4 kB / 434.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.2467, allocations: 38.48 kB / 434.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.2467, allocations: 0 / 434.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002755/0.247, allocations: 156.2 kB / 434.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.247, allocations: 59.41 kB / 434.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.2471, allocations: 148.6 kB / 434.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.2472, allocations: 29.7 kB / 435 MB, free: 3.656 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.2472, allocations: 96.44 kB / 435.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.2472, allocations: 4 kB / 435.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.2473, allocations: 41.66 kB / 435.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2474, allocations: 322.8 kB / 435.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-05/0.2475, allocations: 19.98 kB / 435.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.2476, allocations: 117.7 kB / 435.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.2477, allocations: 149.5 kB / 435.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2477, allocations: 0 / 435.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002151/0.2479, allocations: 161.3 kB / 435.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2479, allocations: 4 kB / 435.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2479, allocations: 4 kB / 435.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.248, allocations: 7.938 kB / 435.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.84e-05/0.248, allocations: 15.92 kB / 435.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.248, allocations: 7.938 kB / 435.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.2481, allocations: 19.89 kB / 435.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.2481, allocations: 12.34 kB / 435.9 MB, free: 2.566 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.0001263/0.2482, allocations: 145.8 kB / 436.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.2484, allocations: 117.5 kB / 436.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.2484, allocations: 17.12 kB / 436.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2484, allocations: 4 kB / 436.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2484, allocations: 0 / 436.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2484, allocations: 3.984 kB / 436.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.2485, allocations: 156.7 kB / 436.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2485, allocations: 4 kB / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.2486, allocations: 11.92 kB / 436.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2486, allocations: 0 / 436.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2486, allocations: 0 / 436.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2486, allocations: 3.938 kB / 436.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.2486, allocations: 4 kB / 436.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.2488, allocations: 144.1 kB / 436.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.2488, allocations: 31.77 kB / 436.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.2488, allocations: 11.98 kB / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.2489, allocations: 8 kB / 436.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-06/0.2489, allocations: 0 / 436.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.2489, allocations: 4 kB / 436.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.187e-05/0.2489, allocations: 110 kB / 436.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2489, allocations: 0 / 436.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.2492, allocations: 16 kB / 436.7 MB, free: 1.719 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.0005733/0.2497, allocations: 0.7489 MB / 437.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.2499, allocations: 91.78 kB / 437.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2499, allocations: 1.062 kB / 437.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2499, allocations: 0 / 437.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.2502, allocations: 79.92 kB / 437.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.2517, allocations: 1.629 MB / 439.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.252, allocations: 0.7161 MB / 440 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.243e-05/0.252, allocations: 8.641 kB / 440 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.2521, allocations: 23.44 kB / 440 MB, free: 14.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2521, allocations: 0 / 440 MB, free: 14.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.2745, allocations: 2.666 MB / 442.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.65, allocations: 12.05 kB / 442.7 MB, free: 11.67 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.01894221099792]