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.001466/0.001466, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001682/0.001682, allocations: 218.7 kB / 24.52 MB, free: 3.91 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.356/1.356, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.001421/0.001421, allocations: 43.92 kB / 378.5 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2663, allocations: 53.37 MB / 431.9 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002187/0.2684, allocations: 0.9202 MB / 432.8 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000351/0.2688, allocations: 131.5 kB / 432.9 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.2689, allocations: 7.938 kB / 432.9 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.332e-05/0.269, allocations: 11.88 kB / 432.9 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.053e-05/0.2691, allocations: 11.92 kB / 432.9 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.2693, allocations: 43.89 kB / 433 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.2694, allocations: 59.89 kB / 433 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.2695, allocations: 32.14 kB / 433.1 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.2696, allocations: 27.92 kB / 433.1 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.2696, allocations: 27.8 kB / 433.1 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.2696, allocations: 11.94 kB / 433.1 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.2696, allocations: 4 kB / 433.1 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.2697, allocations: 31.91 kB / 433.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.2698, allocations: 31.81 kB / 433.2 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.2699, allocations: 85.83 kB / 433.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2699, allocations: 0 / 433.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2699, allocations: 0 / 433.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2699, allocations: 3.984 kB / 433.3 MB, free: 5.266 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.000408/0.2703, allocations: 310 kB / 433.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2704, allocations: 12.03 kB / 433.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.17e-05/0.2704, allocations: 192 / 433.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.072e-05/0.2704, allocations: 50.67 kB / 433.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.2705, allocations: 12.84 kB / 433.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.2707, allocations: 146.4 kB / 433.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2707, allocations: 8.375 kB / 433.8 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.2707, allocations: 4.375 kB / 433.8 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.2711, allocations: 233.7 kB / 434.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2711, allocations: 0 / 434.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.2711, allocations: 7.938 kB / 434.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2712, allocations: 4 kB / 434.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.2712, allocations: 31.98 kB / 434.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.2714, allocations: 156.6 kB / 434.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.2716, allocations: 114.7 kB / 434.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.2717, allocations: 76 kB / 434.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.2717, allocations: 4 kB / 434.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.2718, allocations: 38.5 kB / 434.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.2718, allocations: 0 / 434.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002734/0.272, allocations: 153.5 kB / 434.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.2721, allocations: 67.39 kB / 434.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.2722, allocations: 144.6 kB / 434.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.2723, allocations: 25.7 kB / 434.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.2723, allocations: 92.45 kB / 435 MB, free: 3.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.2723, allocations: 11.95 kB / 435 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.2724, allocations: 37.7 kB / 435 MB, free: 3.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2725, allocations: 322.8 kB / 435.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/0.2726, allocations: 19.98 kB / 435.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.2727, allocations: 117.7 kB / 435.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.2728, allocations: 149.5 kB / 435.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2728, allocations: 4 kB / 435.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002194/0.2731, allocations: 157.6 kB / 435.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2731, allocations: 12.06 kB / 435.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2731, allocations: 4 kB / 435.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2731, allocations: 4 kB / 435.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.584e-05/0.2731, allocations: 7.984 kB / 435.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.2731, allocations: 11.94 kB / 435.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.2732, allocations: 15.89 kB / 435.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.2732, allocations: 8 kB / 435.8 MB, free: 2.449 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.0001327/0.2733, allocations: 133.8 kB / 435.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.2735, allocations: 132.6 kB / 436.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.2735, allocations: 21.12 kB / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2735, allocations: 0 / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2736, allocations: 0 / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2736, allocations: 0 / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.2737, allocations: 152.7 kB / 436.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2737, allocations: 0 / 436.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.2737, allocations: 11.86 kB / 436.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2737, allocations: 0 / 436.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2737, allocations: 15.88 kB / 436.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2737, allocations: 0 / 436.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2737, allocations: 0 / 436.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.2739, allocations: 149 kB / 436.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.274, allocations: 31.77 kB / 436.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.274, allocations: 7.984 kB / 436.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.274, allocations: 4 kB / 436.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-06/0.274, allocations: 0 / 436.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.274, allocations: 4 kB / 436.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.419e-05/0.2741, allocations: 110.1 kB / 436.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2741, allocations: 0 / 436.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.2743, allocations: 16 kB / 436.6 MB, free: 1.605 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.0006295/0.2749, allocations: 0.7528 MB / 437.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.2751, allocations: 87.78 kB / 437.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2751, allocations: 0 / 437.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.2751, allocations: 0 / 437.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.2755, allocations: 84.03 kB / 437.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.277, allocations: 1.619 MB / 439.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.608e-05/0.2771, allocations: 100.5 kB / 439.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.011e-05/0.2771, allocations: 12.64 kB / 439.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.2772, allocations: 19.44 kB / 439.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2772, allocations: 7.938 kB / 439.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.2996, allocations: 2.698 MB / 442 MB, free: 12.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.78, allocations: 3.938 kB / 442 MB, free: 12.17 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.155144907068461]