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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 107.3 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009394/0.0009394, allocations: 46.95 kB / 300.7 MB, free: 5.746 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08731/0.08827, allocations: 49.44 MB / 350.2 MB, free: 4.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.003206/0.09153, allocations: 0.9188 MB / 351.1 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003306/0.09189, allocations: 135.5 kB / 351.2 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.09197, allocations: 0 / 351.2 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.456e-05/0.09208, allocations: 7.875 kB / 351.2 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.41e-05/0.09219, allocations: 15.92 kB / 351.2 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.09242, allocations: 39.91 kB / 351.3 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.09255, allocations: 67.77 kB / 351.3 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.09271, allocations: 52.12 kB / 351.4 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.49e-05/0.09276, allocations: 19.94 kB / 351.4 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.09281, allocations: 35.78 kB / 351.4 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.09284, allocations: 4 kB / 351.4 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.09287, allocations: 8 kB / 351.5 MB, free: 3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.09296, allocations: 23.92 kB / 351.5 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.529e-05/0.09303, allocations: 43.72 kB / 351.5 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.09319, allocations: 75.7 kB / 351.6 MB, free: 2.859 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.0932, allocations: 0 / 351.6 MB, free: 2.859 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09321, allocations: 0 / 351.6 MB, free: 2.859 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.09322, allocations: 0 / 351.6 MB, free: 2.859 MB / 286.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.0004952/0.09372, allocations: 395.3 kB / 352 MB, free: 2.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.09377, allocations: 11.89 kB / 352 MB, free: 2.41 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.09383, allocations: 42.73 kB / 352 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.09387, allocations: 12.84 kB / 352 MB, free: 2.348 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.09412, allocations: 204 kB / 352.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.09414, allocations: 12.31 kB / 352.3 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.09417, allocations: 12.38 kB / 352.3 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.09458, allocations: 210.5 kB / 352.5 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.0946, allocations: 3.938 kB / 352.5 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.09461, allocations: 4 kB / 352.5 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.09463, allocations: 7.984 kB / 352.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.0947, allocations: 35.98 kB / 352.5 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.09488, allocations: 189.5 kB / 352.7 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.09509, allocations: 127 kB / 352.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.09521, allocations: 76.83 kB / 352.9 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.09523, allocations: 4 kB / 352.9 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.09526, allocations: 30.56 kB / 352.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.09527, allocations: 0 / 352.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002644/0.09554, allocations: 157.4 kB / 353.1 MB, free: 1.172 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.09561, allocations: 59.41 kB / 353.2 MB, free: 1.102 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.09573, allocations: 153.7 kB / 353.3 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.09575, allocations: 25.7 kB / 353.3 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.0958, allocations: 84.47 kB / 353.4 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.09583, allocations: 15.89 kB / 353.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.09588, allocations: 37.7 kB / 353.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.09601, allocations: 322.8 kB / 353.8 MB, free: 452 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/0.09605, allocations: 16 kB / 353.8 MB, free: 436 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.09616, allocations: 132.3 kB / 353.9 MB, free: 256 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.09632, allocations: 149.5 kB / 354.1 MB, free: 56 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.09633, allocations: 0 / 354.1 MB, free: 56 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002357/0.09657, allocations: 161.3 kB / 354.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.0966, allocations: 7.938 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.09662, allocations: 4 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.09664, allocations: 4.5 kB / 354.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.91e-05/0.09667, allocations: 11.94 kB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.09669, allocations: 15.92 kB / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.09675, allocations: 11.91 kB / 354.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.09677, allocations: 8 kB / 354.3 MB, free: 15.82 MB / 302.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.0002039/0.09698, allocations: 138.3 kB / 354.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.09713, allocations: 124.6 kB / 354.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.09719, allocations: 25.17 kB / 354.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.0972, allocations: 4 kB / 354.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.09721, allocations: 4 kB / 354.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.09722, allocations: 0 / 354.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.09734, allocations: 185.5 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.09735, allocations: 0 / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.853e-05/0.09738, allocations: 4 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.09739, allocations: 7.922 kB / 354.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.0974, allocations: 0 / 354.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.09741, allocations: 3.984 kB / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.09741, allocations: 0 / 354.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.09759, allocations: 152.9 kB / 354.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.597e-05/0.09768, allocations: 100.9 kB / 355 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.09771, allocations: 7.984 kB / 355 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.09773, allocations: 4 kB / 355 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-06/0.09774, allocations: 0 / 355 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.09775, allocations: 4 kB / 355 MB, free: 14.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.299e-05/0.09782, allocations: 111.2 kB / 355.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.09783, allocations: 0 / 355.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.09808, allocations: 16 kB / 355.2 MB, free: 14.85 MB / 302.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.0005959/0.09869, allocations: 0.7489 MB / 355.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.09889, allocations: 115.4 kB / 356 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.0989, allocations: 0 / 356 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.09891, allocations: 0 / 356 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.09927, allocations: 86.69 kB / 356.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1007, allocations: 1.624 MB / 357.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.101, allocations: 0.7123 MB / 358.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.748e-05/0.1011, allocations: 16.64 kB / 358.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.1011, allocations: 19.44 kB / 358.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1011, allocations: 0 / 358.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.1204, allocations: 2.381 MB / 360.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.61, allocations: 8 kB / 360.9 MB, free: 9.043 MB / 302.1 MB (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 3.6e-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) 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) Reference file matches