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.001254/0.001254, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001352/0.001352, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.408/1.408, allocations: 230.6 MB / 257.5 MB, free: 7.793 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 51.92 kB / 377.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2615, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002363/0.2638, allocations: 0.9166 MB / 432 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00036/0.2642, allocations: 131.5 kB / 432.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.2643, allocations: 3.938 kB / 432.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.628e-05/0.2644, allocations: 11.86 kB / 432.1 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.817e-05/0.2644, allocations: 11.92 kB / 432.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.2647, allocations: 47.91 kB / 432.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.2648, allocations: 67.81 kB / 432.3 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2649, allocations: 28.22 kB / 432.3 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.944e-05/0.2649, allocations: 27.86 kB / 432.3 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.265, allocations: 27.84 kB / 432.3 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.265, allocations: 4 kB / 432.4 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.265, allocations: 7.938 kB / 432.4 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.855e-05/0.2651, allocations: 27.92 kB / 432.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.2651, allocations: 35.78 kB / 432.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.2653, allocations: 90.95 kB / 432.5 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2653, allocations: 0 / 432.5 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2653, allocations: 0 / 432.5 MB, free: 5.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2653, allocations: 4 kB / 432.5 MB, free: 5.211 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.0004272/0.2657, allocations: 318.9 kB / 432.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2658, allocations: 8.031 kB / 432.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.2658, allocations: 42.75 kB / 432.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.2658, allocations: 8.891 kB / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.2661, allocations: 146.3 kB / 433 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2661, allocations: 8.375 kB / 433 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.2661, allocations: 4.375 kB / 433 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.2665, allocations: 234.6 kB / 433.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2665, allocations: 3.938 kB / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.2665, allocations: 0 / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2665, allocations: 0 / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.44e-05/0.2666, allocations: 39.92 kB / 433.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.2668, allocations: 148.6 kB / 433.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.267, allocations: 122.6 kB / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.2671, allocations: 79.86 kB / 433.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.2671, allocations: 3.984 kB / 433.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.2672, allocations: 38.56 kB / 433.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.2672, allocations: 0 / 433.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002905/0.2675, allocations: 153.4 kB / 433.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.2675, allocations: 63.41 kB / 433.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.2677, allocations: 148.4 kB / 434.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.2677, allocations: 25.7 kB / 434.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.2677, allocations: 88.47 kB / 434.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.2677, allocations: 7.984 kB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.2678, allocations: 49.61 kB / 434.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2679, allocations: 322.8 kB / 434.5 MB, free: 3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.599e-05/0.268, allocations: 15.98 kB / 434.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.2681, allocations: 121.7 kB / 434.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.2683, allocations: 145.5 kB / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2683, allocations: 0 / 434.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002255/0.2685, allocations: 157.3 kB / 435 MB, free: 2.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2685, allocations: 7.938 kB / 435 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2685, allocations: 7.984 kB / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2685, allocations: 8 kB / 435 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.401e-05/0.2685, allocations: 7.938 kB / 435 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.2686, allocations: 8.438 kB / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.2686, allocations: 15.89 kB / 435 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.2686, allocations: 12 kB / 435 MB, free: 2.398 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.0001401/0.2688, allocations: 141.7 kB / 435.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.2689, allocations: 124.5 kB / 435.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.269, allocations: 13.12 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.269, allocations: 4 kB / 435.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.269, allocations: 0 / 435.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.269, allocations: 3.984 kB / 435.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.2691, allocations: 148.7 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2691, allocations: 4 kB / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.2691, allocations: 7.938 kB / 435.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2691, allocations: 3.938 kB / 435.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2691, allocations: 4 kB / 435.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2691, allocations: 4 kB / 435.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2691, allocations: 3.938 kB / 435.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.2693, allocations: 149 kB / 435.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.2694, allocations: 31.77 kB / 435.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.2694, allocations: 4 kB / 435.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.279e-05/0.2695, allocations: 8 kB / 435.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-06/0.2695, allocations: 4 kB / 435.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.2695, allocations: 0 / 435.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.849e-05/0.2696, allocations: 118.1 kB / 435.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2696, allocations: 0 / 435.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.2698, allocations: 16 kB / 435.8 MB, free: 1.551 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.000628/0.2704, allocations: 0.7411 MB / 436.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.2706, allocations: 99.22 kB / 436.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2706, allocations: 0 / 436.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2706, allocations: 0 / 436.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.2709, allocations: 75.92 kB / 436.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.2725, allocations: 1.623 MB / 438.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.736e-05/0.2726, allocations: 104.5 kB / 438.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.278e-05/0.2726, allocations: 8.641 kB / 438.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.2727, allocations: 19.44 kB / 438.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2727, allocations: 0 / 438.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.3028, allocations: 3.034 MB / 441.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.9, allocations: 3.047 kB / 441.5 MB, free: 11.77 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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.241332754027098]