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.001738/0.001738, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001622/0.001622, allocations: 203.7 kB / 23.73 MB, free: 4.379 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.379/1.379, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.0015/0.0015, allocations: 47.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2497, allocations: 53.36 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002455/0.2522, allocations: 0.92 MB / 432 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004223/0.2526, allocations: 139.4 kB / 432.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.918e-05/0.2527, allocations: 0 / 432.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.2528, allocations: 15.86 kB / 432.1 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.253, allocations: 11.94 kB / 432.2 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.2532, allocations: 43.89 kB / 432.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.2534, allocations: 59.89 kB / 432.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.2535, allocations: 35.95 kB / 432.3 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.775e-05/0.2536, allocations: 31.84 kB / 432.3 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.2536, allocations: 31.84 kB / 432.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.2536, allocations: 4 kB / 432.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.941e-05/0.2536, allocations: 4 kB / 432.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.548e-05/0.2537, allocations: 31.86 kB / 432.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.2538, allocations: 31.8 kB / 432.4 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.2539, allocations: 81.47 kB / 432.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2539, allocations: 4 kB / 432.5 MB, free: 5.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.254, allocations: 3.938 kB / 432.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.254, allocations: 0 / 432.5 MB, free: 5.188 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.0004884/0.2545, allocations: 317.9 kB / 432.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.2545, allocations: 12.03 kB / 432.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.2545, allocations: 38.75 kB / 432.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.2546, allocations: 8.891 kB / 432.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.2549, allocations: 146.3 kB / 433 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.2549, allocations: 12.38 kB / 433 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.2549, allocations: 8.375 kB / 433 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.2553, allocations: 225.9 kB / 433.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.2553, allocations: 3.938 kB / 433.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.2553, allocations: 4 kB / 433.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2553, allocations: 7.938 kB / 433.3 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.215e-05/0.2554, allocations: 31.98 kB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.2556, allocations: 152.6 kB / 433.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.2558, allocations: 122.6 kB / 433.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.2559, allocations: 73.19 kB / 433.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.256, allocations: 3.938 kB / 433.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.256, allocations: 34.56 kB / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.256, allocations: 0 / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002989/0.2563, allocations: 153.4 kB / 433.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.2564, allocations: 67.41 kB / 433.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.2565, allocations: 148.4 kB / 434.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2565, allocations: 29.7 kB / 434.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.2566, allocations: 88.47 kB / 434.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.2566, allocations: 3.984 kB / 434.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.2567, allocations: 41.67 kB / 434.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.2568, allocations: 322.8 kB / 434.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.703e-05/0.2569, allocations: 19.98 kB / 434.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.257, allocations: 117.7 kB / 434.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.2572, allocations: 149.5 kB / 434.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2572, allocations: 0 / 434.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002243/0.2574, allocations: 157.2 kB / 435 MB, free: 2.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2574, allocations: 12.42 kB / 435 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2574, allocations: 8 kB / 435 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.2574, allocations: 8 kB / 435 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.562e-05/0.2575, allocations: 7.938 kB / 435 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.2575, allocations: 7.984 kB / 435 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.013e-05/0.2575, allocations: 15.89 kB / 435 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.2575, allocations: 8 kB / 435 MB, free: 2.375 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.0001425/0.2577, allocations: 141.8 kB / 435.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.2579, allocations: 128.4 kB / 435.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.2579, allocations: 13.12 kB / 435.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2579, allocations: 8 kB / 435.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2579, allocations: 7.984 kB / 435.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2579, allocations: 0 / 435.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.258, allocations: 144.7 kB / 435.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.258, allocations: 0 / 435.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.258, allocations: 7.938 kB / 435.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2581, allocations: 3.938 kB / 435.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2581, allocations: 4 kB / 435.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.2581, allocations: 7.938 kB / 435.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2581, allocations: 0 / 435.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.2583, allocations: 156.9 kB / 435.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.2583, allocations: 31.77 kB / 435.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.2583, allocations: 4 kB / 435.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.2584, allocations: 0 / 435.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-06/0.2584, allocations: 4 kB / 435.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2584, allocations: 0 / 435.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.757e-05/0.2584, allocations: 114.3 kB / 435.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2584, allocations: 7.938 kB / 435.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.2587, allocations: 16 kB / 435.8 MB, free: 1.52 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.0006319/0.2593, allocations: 0.7442 MB / 436.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.2595, allocations: 87.78 kB / 436.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2595, allocations: 0 / 436.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.42e-07/0.2595, allocations: 0 / 436.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.2599, allocations: 86.97 kB / 436.7 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.2616, allocations: 1.626 MB / 438.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.954e-05/0.2617, allocations: 96.48 kB / 438.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.379e-05/0.2617, allocations: 8.641 kB / 438.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.2618, allocations: 23.44 kB / 438.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2618, allocations: 0 / 438.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.2911, allocations: 3.045 MB / 441.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.06, allocations: 7.234 kB / 441.5 MB, free: 11.73 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.548458879988175]