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.0008316/0.0008316, allocations: 76.08 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.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.0009459/0.0009459, allocations: 157.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9275/0.9275, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 1.353e-06/1.353e-06, allocations: 0 / 318.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.899e-05, allocations: 2.281 kB / 318.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001809/0.001828, allocations: 0.9105 MB / 319.3 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003787/0.002207, allocations: 139.5 kB / 319.5 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.23e-05/0.002299, allocations: 3.938 kB / 319.5 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.00241, allocations: 11.86 kB / 319.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.002522, allocations: 11.94 kB / 319.5 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.002778, allocations: 43.88 kB / 319.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.002895, allocations: 63.84 kB / 319.6 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.003017, allocations: 36.17 kB / 319.6 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.334e-05/0.00307, allocations: 39.91 kB / 319.7 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.396e-05/0.003104, allocations: 19.91 kB / 319.7 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.003129, allocations: 8 kB / 319.7 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.00314, allocations: 4 kB / 319.7 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.47e-05/0.003215, allocations: 27.91 kB / 319.7 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.003252, allocations: 19.92 kB / 319.8 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.00339, allocations: 87.56 kB / 319.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.003394, allocations: 0 / 319.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.003395, allocations: 0 / 319.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.003399, allocations: 0 / 319.8 MB, free: 4.82 MB / 282.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.0003677/0.003767, allocations: 321.9 kB / 320.2 MB, free: 4.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.003805, allocations: 8.922 kB / 320.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.003839, allocations: 46.69 kB / 320.2 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.003867, allocations: 8.891 kB / 320.2 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.004078, allocations: 156.3 kB / 320.4 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.004089, allocations: 8.312 kB / 320.4 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.004102, allocations: 8.375 kB / 320.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.004426, allocations: 215.7 kB / 320.6 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.004436, allocations: 192 / 320.6 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.004448, allocations: 4.375 kB / 320.6 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.004456, allocations: 8.125 kB / 320.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.012e-05/0.004516, allocations: 39.92 kB / 320.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001311/0.004647, allocations: 144.7 kB / 320.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.004818, allocations: 118.6 kB / 320.9 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.004894, allocations: 77.19 kB / 321 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.004907, allocations: 4 kB / 321 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.004926, allocations: 30.56 kB / 321 MB, free: 3.508 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.004927, allocations: 0 / 321 MB, free: 3.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002378/0.005165, allocations: 157.5 kB / 321.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.005221, allocations: 67.28 kB / 321.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.005317, allocations: 141.8 kB / 321.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.005331, allocations: 33.7 kB / 321.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.005377, allocations: 84.47 kB / 321.5 MB, free: 2.992 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.005393, allocations: 0 / 321.5 MB, free: 2.992 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.00543, allocations: 29.66 kB / 321.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.005518, allocations: 322.8 kB / 321.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.00553, allocations: 0 / 321.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.58e-05/0.005556, allocations: 29.69 kB / 321.9 MB, free: 2.598 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.005586, allocations: 21.66 kB / 321.9 MB, free: 2.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005589, allocations: 0 / 321.9 MB, free: 2.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.52e-05/0.005654, allocations: 53.62 kB / 321.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.00567, allocations: 8 kB / 322 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.005675, allocations: 0 / 322 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.005691, allocations: 8 kB / 322 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.461e-05/0.005706, allocations: 0 / 322 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.005712, allocations: 4 kB / 322 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.005727, allocations: 0 / 322 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.005731, allocations: 0 / 322 MB, free: 2.492 MB / 282.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.477e-05/0.005806, allocations: 129.8 kB / 322.1 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.005908, allocations: 125.3 kB / 322.2 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.005942, allocations: 21.06 kB / 322.2 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.005947, allocations: 3.938 kB / 322.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.005951, allocations: 0 / 322.2 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.005954, allocations: 4 kB / 322.2 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.77e-05/0.006032, allocations: 148.7 kB / 322.4 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006033, allocations: 0 / 322.4 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.006045, allocations: 7.922 kB / 322.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.006047, allocations: 4 kB / 322.4 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.006056, allocations: 4 kB / 322.4 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.006058, allocations: 3.938 kB / 322.4 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.006059, allocations: 0 / 322.4 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.006185, allocations: 149 kB / 322.6 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.006228, allocations: 23.88 kB / 322.6 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.006244, allocations: 8 kB / 322.6 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.72e-05/0.006262, allocations: 11.92 kB / 322.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-06/0.006265, allocations: 0 / 322.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.006271, allocations: 4 kB / 322.6 MB, free: 1.785 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.864e-05/0.00632, allocations: 110.5 kB / 322.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00632, allocations: 0 / 322.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000134/0.006454, allocations: 12 kB / 322.7 MB, free: 1.668 MB / 282.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.0004189/0.006873, allocations: 0.7418 MB / 323.5 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.006982, allocations: 56.05 kB / 323.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.006984, allocations: 0 / 323.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.12e-07/0.006985, allocations: 0 / 323.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.007301, allocations: 87.31 kB / 323.6 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008988/0.0082, allocations: 1.297 MB / 324.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.246e-05/0.008272, allocations: 100.2 kB / 325 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.118e-05/0.008293, allocations: 4.5 kB / 325 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.008348, allocations: 24.56 kB / 325 MB, free: 15.23 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.008349, allocations: 4 kB / 325 MB, free: 15.23 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.02725, allocations: 3.015 MB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/6.935, allocations: 4 kB / 328 MB, free: 12.35 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/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: Failed to open simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv: Error: Error opening file: Modelica_4.0.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.786099817603827]