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.0009928/0.0009928, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008727/0.0008727, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8953/0.8953, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.623e-06/1.623e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.819e-05, allocations: 6.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001574/0.001592, allocations: 0.9245 MB / 325.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002989/0.001891, allocations: 135.5 kB / 325.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.042e-05/0.001971, allocations: 3.938 kB / 325.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.536e-05/0.002067, allocations: 19.86 kB / 325.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.261e-05/0.002159, allocations: 11.88 kB / 325.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.002363, allocations: 43.94 kB / 325.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.002469, allocations: 63.84 kB / 325.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.002581, allocations: 28.2 kB / 325.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.002631, allocations: 39.84 kB / 325.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.518e-05/0.002666, allocations: 27.89 kB / 325.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.002692, allocations: 4 kB / 325.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.002703, allocations: 4 kB / 325.9 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/0.002773, allocations: 23.92 kB / 325.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.002808, allocations: 19.92 kB / 325.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.00294, allocations: 95.61 kB / 326 MB, free: 14.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.002943, allocations: 0 / 326 MB, free: 14.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.002944, allocations: 0 / 326 MB, free: 14.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.002948, allocations: 0 / 326 MB, free: 14.5 MB / 298.7 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.0003553/0.003303, allocations: 310 kB / 326.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.003345, allocations: 12.03 kB / 326.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.00338, allocations: 38.73 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.003409, allocations: 12.89 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.003609, allocations: 149.5 kB / 326.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.003619, allocations: 8.375 kB / 326.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.003632, allocations: 12.38 kB / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.003945, allocations: 219.7 kB / 326.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.003953, allocations: 192 / 326.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.003967, allocations: 8.375 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.003973, allocations: 8.062 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.004031, allocations: 39.98 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.004157, allocations: 148.6 kB / 326.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.004325, allocations: 122.5 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/0.004407, allocations: 73.2 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.004416, allocations: 0 / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.004435, allocations: 34.55 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 9.11e-07/0.004436, allocations: 4 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002326/0.004669, allocations: 156.3 kB / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.00472, allocations: 63.34 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/0.004806, allocations: 144.8 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.004819, allocations: 33.7 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.004852, allocations: 88.45 kB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.004867, allocations: 4 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.004898, allocations: 29.66 kB / 327.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.004973, allocations: 314.8 kB / 328 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.004985, allocations: 4 kB / 328 MB, free: 12.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-05/0.005017, allocations: 25.69 kB / 328 MB, free: 12.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.005056, allocations: 25.66 kB / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.005058, allocations: 0 / 328 MB, free: 12.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.218e-05/0.00512, allocations: 49.7 kB / 328.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.005133, allocations: 4 kB / 328.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.005138, allocations: 0 / 328.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.005152, allocations: 11.92 kB / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.452e-05/0.005166, allocations: 3.938 kB / 328.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.005171, allocations: 0 / 328.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.287e-05/0.005184, allocations: 0 / 328.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.00519, allocations: 4 kB / 328.1 MB, free: 12.17 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$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 (4): * Single equations (assignments): 4 * 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 7.737e-05/0.005268, allocations: 121.8 kB / 328.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.005376, allocations: 121.6 kB / 328.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.005408, allocations: 21.11 kB / 328.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.005413, allocations: 7.938 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.005418, allocations: 0 / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.00542, allocations: 3.938 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.318e-05/0.005494, allocations: 144.7 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.005495, allocations: 0 / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.071e-05/0.005506, allocations: 7.938 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005507, allocations: 0 / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.005515, allocations: 4 kB / 328.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.005519, allocations: 7.922 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.005521, allocations: 8 kB / 328.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.005644, allocations: 151.4 kB / 328.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.005687, allocations: 27.88 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.005704, allocations: 4 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.005718, allocations: 3.938 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-06/0.005721, allocations: 0 / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.005727, allocations: 4 kB / 328.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.005777, allocations: 115.1 kB / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005777, allocations: 0 / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001393/0.005917, allocations: 16 kB / 328.9 MB, free: 11.34 MB / 298.7 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.0004236/0.00634, allocations: 0.7398 MB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.006444, allocations: 51.91 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006446, allocations: 0 / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.006446, allocations: 0 / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.006752, allocations: 86.67 kB / 329.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007706/0.007523, allocations: 1.309 MB / 331.1 MB, free: 9.047 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.207e-05/0.007585, allocations: 100.4 kB / 331.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.686e-05/0.007602, allocations: 4.484 kB / 331.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.007648, allocations: 24.5 kB / 331.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.007649, allocations: 0 / 331.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.02548, allocations: 3.02 MB / 334.2 MB, free: 6.027 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.009/7.034, allocations: 0 / 334.2 MB, free: 6.027 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/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: Failed to open simulation result Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv: Error: Error opening file: Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result: [Calling sys.exit(0), Time elapsed: 8.805262759327888]