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.001288/0.001288, 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.001664/0.001664, allocations: 208.4 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.387/1.387, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001543/0.001543, allocations: 44.02 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.25, allocations: 53.37 MB / 431.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002322/0.2523, allocations: 0.9166 MB / 432 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003692/0.2527, allocations: 135.5 kB / 432.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.857e-05/0.2528, allocations: 7.938 kB / 432.1 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.608e-05/0.2529, allocations: 11.86 kB / 432.1 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.598e-05/0.253, allocations: 7.938 kB / 432.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.2532, allocations: 50.27 kB / 432.2 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.2533, allocations: 63.83 kB / 432.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2534, allocations: 24.02 kB / 432.3 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.2535, allocations: 31.86 kB / 432.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.2535, allocations: 27.83 kB / 432.3 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.2536, allocations: 12 kB / 432.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.2536, allocations: 4 kB / 432.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.2536, allocations: 27.92 kB / 432.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.2537, allocations: 31.8 kB / 432.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.2538, allocations: 85.34 kB / 432.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2538, allocations: 0 / 432.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2538, allocations: 0 / 432.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.2538, allocations: 0 / 432.5 MB, free: 5.375 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.0004076/0.2543, allocations: 317.9 kB / 432.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2543, allocations: 11.97 kB / 432.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.62e-05/0.2543, allocations: 42.75 kB / 432.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.2544, allocations: 12.89 kB / 432.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.2546, allocations: 150.3 kB / 433 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2546, allocations: 4.375 kB / 433 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2546, allocations: 12.38 kB / 433 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.255, allocations: 232.7 kB / 433.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2551, allocations: 3.938 kB / 433.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2551, allocations: 4 kB / 433.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2551, allocations: 4 kB / 433.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.693e-05/0.2552, allocations: 35.98 kB / 433.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.2553, allocations: 148.6 kB / 433.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.2556, allocations: 121.3 kB / 433.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.2557, allocations: 73.19 kB / 433.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.517e-06/0.2557, allocations: 4 kB / 433.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.2557, allocations: 30.56 kB / 433.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.2557, allocations: 4 kB / 433.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002841/0.256, allocations: 161.4 kB / 433.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.256, allocations: 59.41 kB / 433.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.2562, allocations: 152.7 kB / 434.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.2562, allocations: 29.7 kB / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.2562, allocations: 84.47 kB / 434.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.2563, allocations: 11.98 kB / 434.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.2563, allocations: 37.67 kB / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2565, allocations: 322.8 kB / 434.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.669e-05/0.2565, allocations: 19.98 kB / 434.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.2566, allocations: 128.9 kB / 434.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.2568, allocations: 149.5 kB / 434.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2568, allocations: 0 / 434.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002175/0.257, allocations: 153.5 kB / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.257, allocations: 11.94 kB / 435 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.257, allocations: 4 kB / 435 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.257, allocations: 4 kB / 435 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.965e-05/0.2571, allocations: 15.94 kB / 435 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.2571, allocations: 7.938 kB / 435 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.2571, allocations: 15.89 kB / 435 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.2571, allocations: 8 kB / 435 MB, free: 2.551 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.0001369/0.2573, allocations: 142.1 kB / 435.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.2574, allocations: 121.4 kB / 435.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.2575, allocations: 17.12 kB / 435.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2575, allocations: 0 / 435.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2575, allocations: 7.984 kB / 435.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2575, allocations: 0 / 435.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.2576, allocations: 144.7 kB / 435.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2576, allocations: 0 / 435.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.2576, allocations: 8 kB / 435.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2577, allocations: 3.938 kB / 435.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2577, allocations: 4 kB / 435.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2577, allocations: 0 / 435.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2577, allocations: 3.938 kB / 435.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.2579, allocations: 149 kB / 435.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.2579, allocations: 35.77 kB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.2579, allocations: 4 kB / 435.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.932e-05/0.258, allocations: 0 / 435.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-06/0.258, allocations: 0 / 435.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.258, allocations: 8 kB / 435.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.925e-05/0.2581, allocations: 111.2 kB / 435.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2581, allocations: 0 / 435.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.2583, allocations: 20 kB / 435.8 MB, free: 1.711 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.0006269/0.2589, allocations: 0.7505 MB / 436.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.2591, allocations: 92.78 kB / 436.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2591, allocations: 0 / 436.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.806e-06/0.2591, allocations: 7.922 kB / 436.6 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.2594, allocations: 78.11 kB / 436.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.261, allocations: 1.622 MB / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.956e-05/0.2611, allocations: 92.48 kB / 438.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.537e-05/0.2611, allocations: 16.64 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.2612, allocations: 27.42 kB / 438.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2612, allocations: 0 / 438.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.2903, allocations: 3.03 MB / 441.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.2, allocations: 4.062 kB / 441.5 MB, free: 11.93 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 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.csv","/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] "Error: Could not read variable assignClock1.y[1] in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[1] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv failed! Error: Could not read variable assignClock1.y[2] in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.62101212888956]