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.001326/0.001326, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001563/0.001563, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001639/0.001639, allocations: 47.92 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2465, allocations: 53.36 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002433/0.2489, allocations: 0.9337 MB / 432.1 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003876/0.2493, allocations: 135.5 kB / 432.2 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.893e-05/0.2494, allocations: 11.94 kB / 432.2 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.2495, allocations: 7.922 kB / 432.2 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.879e-05/0.2496, allocations: 11.88 kB / 432.2 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.2499, allocations: 51.88 kB / 432.3 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.25, allocations: 55.84 kB / 432.3 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.2501, allocations: 24.22 kB / 432.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.2502, allocations: 27.92 kB / 432.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.2502, allocations: 35.77 kB / 432.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.2503, allocations: 8 kB / 432.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.345e-05/0.2503, allocations: 4 kB / 432.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.333e-05/0.2504, allocations: 31.92 kB / 432.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.2504, allocations: 39.73 kB / 432.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.2506, allocations: 88.36 kB / 432.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2506, allocations: 0 / 432.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2506, allocations: 0 / 432.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2506, allocations: 0 / 432.6 MB, free: 5.418 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.0004944/0.2511, allocations: 321.5 kB / 432.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2512, allocations: 8.031 kB / 432.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.2512, allocations: 38.75 kB / 433 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.2513, allocations: 8.891 kB / 433 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.2515, allocations: 154.3 kB / 433.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.2515, allocations: 8.375 kB / 433.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.2516, allocations: 4.375 kB / 433.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.252, allocations: 231.4 kB / 433.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.252, allocations: 3.938 kB / 433.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.252, allocations: 0 / 433.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.252, allocations: 3.984 kB / 433.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.254e-05/0.2521, allocations: 39.92 kB / 433.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.2522, allocations: 168.5 kB / 433.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.2525, allocations: 122.6 kB / 433.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.2526, allocations: 76 kB / 433.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.2526, allocations: 0 / 433.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.2526, allocations: 38.56 kB / 433.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.2526, allocations: 0 / 433.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000297/0.2529, allocations: 149.5 kB / 433.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.253, allocations: 67.34 kB / 434 MB, free: 3.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.2531, allocations: 152.3 kB / 434.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.2531, allocations: 25.7 kB / 434.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.2532, allocations: 84.47 kB / 434.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.2532, allocations: 11.98 kB / 434.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.2533, allocations: 41.67 kB / 434.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2534, allocations: 318.8 kB / 434.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.2535, allocations: 19.98 kB / 434.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.2536, allocations: 117.7 kB / 434.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.2537, allocations: 149.5 kB / 434.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2537, allocations: 0 / 434.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002239/0.254, allocations: 153.3 kB / 435.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.254, allocations: 11.92 kB / 435.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.254, allocations: 4 kB / 435.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.254, allocations: 8.5 kB / 435.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.829e-05/0.254, allocations: 11.94 kB / 435.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.254, allocations: 8 kB / 435.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.2541, allocations: 15.89 kB / 435.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2541, allocations: 12 kB / 435.1 MB, free: 2.59 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.0001429/0.2543, allocations: 137.8 kB / 435.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.2544, allocations: 125.4 kB / 435.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.2545, allocations: 17.06 kB / 435.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2545, allocations: 4 kB / 435.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2545, allocations: 4 kB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2545, allocations: 3.984 kB / 435.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.2546, allocations: 156.7 kB / 435.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2546, allocations: 0 / 435.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.2546, allocations: 4 kB / 435.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2546, allocations: 3.938 kB / 435.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2546, allocations: 4 kB / 435.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.2546, allocations: 4 kB / 435.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2546, allocations: 0 / 435.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.2548, allocations: 159.7 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.2549, allocations: 35.77 kB / 435.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.2549, allocations: 4 kB / 435.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.255, allocations: 0 / 435.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-06/0.255, allocations: 0 / 435.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.255, allocations: 4 kB / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.922e-05/0.2551, allocations: 114.1 kB / 435.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2551, allocations: 0 / 435.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.2553, allocations: 16 kB / 435.9 MB, free: 1.738 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.0006373/0.2559, allocations: 0.7528 MB / 436.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.2561, allocations: 88.84 kB / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2561, allocations: 0 / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.2561, allocations: 0 / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.2565, allocations: 81.28 kB / 436.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.2581, allocations: 1.63 MB / 438.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.2584, allocations: 0.7084 MB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.51e-05/0.2584, allocations: 16.58 kB / 439.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.2585, allocations: 27.44 kB / 439.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2585, allocations: 0 / 439.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.2876, allocations: 2.626 MB / 441.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.01, allocations: 8.047 kB / 441.8 MB, free: 11.71 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.513644353999553]