Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 114.5 kB / 17.78 MB, free: 5.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 190.9 kB / 20.73 MB, free: 2.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 47.92 kB / 365.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1459, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.003731/0.1497, allocations: 0.9271 MB / 418.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006129/0.1503, allocations: 139.5 kB / 418.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1504, allocations: 4 kB / 418.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.1505, allocations: 11.86 kB / 418.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.1506, allocations: 7.875 kB / 418.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.151, allocations: 47.89 kB / 418.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1512, allocations: 59.83 kB / 419 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.1514, allocations: 40.2 kB / 419 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.193e-05/0.1515, allocations: 27.86 kB / 419 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.1516, allocations: 27.84 kB / 419.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.1516, allocations: 8 kB / 419.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.084e-05/0.1516, allocations: 4 kB / 419.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1517, allocations: 23.92 kB / 419.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.692e-05/0.1518, allocations: 39.73 kB / 419.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.1521, allocations: 91.45 kB / 419.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1521, allocations: 0 / 419.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1521, allocations: 4 kB / 419.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1521, allocations: 0 / 419.2 MB, free: 11.18 MB / 350.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.0007242/0.1528, allocations: 399 kB / 419.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.1529, allocations: 8.031 kB / 419.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.043e-05/0.1529, allocations: 38.75 kB / 419.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.153, allocations: 12.84 kB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.1534, allocations: 212.1 kB / 419.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.1535, allocations: 8.375 kB / 419.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1535, allocations: 8.375 kB / 419.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.1541, allocations: 213.7 kB / 420.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.1542, allocations: 3.938 kB / 420.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1542, allocations: 3.984 kB / 420.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.1542, allocations: 4 kB / 420.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.1543, allocations: 35.98 kB / 420.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.1546, allocations: 189.5 kB / 420.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.155, allocations: 119 kB / 420.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.1552, allocations: 78.88 kB / 420.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1552, allocations: 4 kB / 420.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.1552, allocations: 30.56 kB / 420.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.285e-06/0.1552, allocations: 4 kB / 420.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.000527/0.1558, allocations: 157.4 kB / 420.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.1559, allocations: 59.41 kB / 420.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.1561, allocations: 144.2 kB / 420.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.1561, allocations: 29.7 kB / 420.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.1562, allocations: 88.47 kB / 421 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.1563, allocations: 15.94 kB / 421 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.58e-05/0.1563, allocations: 41.64 kB / 421.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.1566, allocations: 326.8 kB / 421.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.769e-05/0.1566, allocations: 20 kB / 421.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.1568, allocations: 117.7 kB / 421.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.1571, allocations: 153.5 kB / 421.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1571, allocations: 0 / 421.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004232/0.1576, allocations: 157.3 kB / 421.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.1576, allocations: 7.938 kB / 421.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.1576, allocations: 4 kB / 421.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.1576, allocations: 4 kB / 421.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.1577, allocations: 15.92 kB / 421.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.1577, allocations: 4 kB / 421.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.1578, allocations: 11.94 kB / 421.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.1578, allocations: 8.406 kB / 421.9 MB, free: 8.168 MB / 350.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.0002313/0.1581, allocations: 150.3 kB / 422 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.1584, allocations: 119.4 kB / 422.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.286e-05/0.1584, allocations: 21.17 kB / 422.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1584, allocations: 4 kB / 422.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1585, allocations: 3.938 kB / 422.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1585, allocations: 0 / 422.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.1587, allocations: 185.6 kB / 422.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1587, allocations: 4 kB / 422.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.1587, allocations: 7.938 kB / 422.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.1587, allocations: 3.938 kB / 422.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1588, allocations: 4 kB / 422.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.1588, allocations: 3.984 kB / 422.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1588, allocations: 0 / 422.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.1591, allocations: 149 kB / 422.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.1593, allocations: 104.9 kB / 422.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.1593, allocations: 7.984 kB / 422.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.534e-05/0.1593, allocations: 8 kB / 422.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-06/0.1594, allocations: 0 / 422.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1594, allocations: 4 kB / 422.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1595, allocations: 109.2 kB / 422.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1595, allocations: 0 / 422.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004389/0.1599, allocations: 16 kB / 422.8 MB, free: 7.18 MB / 350.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.001071/0.161, allocations: 0.764 MB / 423.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003268/0.1613, allocations: 83.84 kB / 423.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1613, allocations: 1.062 kB / 423.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1614, allocations: 0 / 423.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/0.162, allocations: 79.92 kB / 423.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.1646, allocations: 1.639 MB / 425.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.1651, allocations: 0.7123 MB / 426.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.916e-05/0.1652, allocations: 16.62 kB / 426.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.1653, allocations: 26.06 kB / 426.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1653, allocations: 0 / 426.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.1986, allocations: 2.427 MB / 428.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.348, allocations: 12.83 kB / 428.5 MB, free: 1.348 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[1] from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv failed! Error: Could not read variable assignClock1.y[2] in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.908570522908121]