Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001089/0.001089, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001183/0.001183, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.362/1.362, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 45.91 kB / 300.7 MB, free: 5.816 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08551/0.08653, allocations: 49.44 MB / 350.2 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002311/0.08888, allocations: 0.8991 MB / 351.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004168/0.08932, allocations: 143.5 kB / 351.2 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.269e-05/0.08943, allocations: 4 kB / 351.2 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.08955, allocations: 15.86 kB / 351.2 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.0897, allocations: 23.84 kB / 351.2 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.08992, allocations: 39.91 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.09004, allocations: 71.77 kB / 351.4 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.09018, allocations: 39.98 kB / 351.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.09024, allocations: 27.86 kB / 351.4 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.09033, allocations: 39.83 kB / 351.5 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.09036, allocations: 8 kB / 351.5 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.606e-05/0.09038, allocations: 4 kB / 351.5 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.09044, allocations: 27.92 kB / 351.5 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.0905, allocations: 43.67 kB / 351.5 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.09064, allocations: 87.64 kB / 351.6 MB, free: 2.895 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.09065, allocations: 3.984 kB / 351.6 MB, free: 2.891 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09066, allocations: 0 / 351.6 MB, free: 2.891 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.09067, allocations: 4 kB / 351.6 MB, free: 2.887 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.0004802/0.09116, allocations: 415.2 kB / 352 MB, free: 2.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.0912, allocations: 8.031 kB / 352 MB, free: 2.422 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.09124, allocations: 42.73 kB / 352.1 MB, free: 2.371 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.09128, allocations: 20.73 kB / 352.1 MB, free: 2.352 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.09147, allocations: 208 kB / 352.3 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.09149, allocations: 8.328 kB / 352.3 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.09151, allocations: 8.375 kB / 352.3 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.0919, allocations: 246.4 kB / 352.6 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.09192, allocations: 3.938 kB / 352.6 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.09193, allocations: 7.938 kB / 352.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.09195, allocations: 4 kB / 352.6 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.09206, allocations: 43.97 kB / 352.6 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.09221, allocations: 193.6 kB / 352.8 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.09245, allocations: 142.9 kB / 353 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.09257, allocations: 84.91 kB / 353 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.09259, allocations: 4 kB / 353 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.09262, allocations: 38.5 kB / 353.1 MB, free: 1.262 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 2.735e-06/0.09263, allocations: 0 / 353.1 MB, free: 1.262 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002898/0.09293, allocations: 185.5 kB / 353.3 MB, free: 1.074 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.09298, allocations: 66.5 kB / 353.3 MB, free: 1 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.09312, allocations: 161.8 kB / 353.5 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.09314, allocations: 25.7 kB / 353.5 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.09319, allocations: 96.45 kB / 353.6 MB, free: 0.707 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.09321, allocations: 8 kB / 353.6 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.09326, allocations: 41.61 kB / 353.7 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.09337, allocations: 326.8 kB / 354 MB, free: 332 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.796e-05/0.09342, allocations: 19.98 kB / 354 MB, free: 312 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.09352, allocations: 128.5 kB / 354.1 MB, free: 136 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.09368, allocations: 149.5 kB / 354.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.09369, allocations: 4 kB / 354.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002117/0.0939, allocations: 161.7 kB / 354.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.09393, allocations: 7.938 kB / 354.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.09394, allocations: 4 kB / 354.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.09396, allocations: 4 kB / 354.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.09408, allocations: 43.86 kB / 354.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.0941, allocations: 4 kB / 354.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.09416, allocations: 11.84 kB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.09418, allocations: 8 kB / 354.5 MB, free: 15.69 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001337/0.09431, allocations: 154.3 kB / 354.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.09449, allocations: 137.4 kB / 354.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.09455, allocations: 25.17 kB / 354.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.09456, allocations: 4 kB / 354.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.09456, allocations: 0 / 354.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.09457, allocations: 0 / 354.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.0947, allocations: 189.6 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.0947, allocations: 0 / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.09483, allocations: 27.92 kB / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.09484, allocations: 3.938 kB / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.09486, allocations: 12 kB / 355 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.09486, allocations: 3.984 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.09487, allocations: 0 / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.09507, allocations: 160.8 kB / 355.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.09516, allocations: 101 kB / 355.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.09519, allocations: 7.938 kB / 355.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.09523, allocations: 11.98 kB / 355.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-06/0.09523, allocations: 0 / 355.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.09525, allocations: 8 kB / 355.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.599e-05/0.09533, allocations: 111.2 kB / 355.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09534, allocations: 7.875 kB / 355.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.09558, allocations: 24 kB / 355.5 MB, free: 14.61 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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.0005597/0.09615, allocations: 0.7747 MB / 356.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.09637, allocations: 115.7 kB / 356.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.09638, allocations: 3.938 kB / 356.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.09638, allocations: 0 / 356.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.09674, allocations: 94.98 kB / 356.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.09825, allocations: 1.706 MB / 358.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.09855, allocations: 0.7201 MB / 358.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.599e-05/0.09859, allocations: 9.094 kB / 358.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.09865, allocations: 27.42 kB / 358.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.09865, allocations: 0 / 358.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.1174, allocations: 2.59 MB / 361.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.593, allocations: 7.547 kB / 361.5 MB, free: 8.465 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable assignClock1.y[2] in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv failed! " Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:time,previous(unitDelay1.u),previous(unitDelay2.u),assignClock1.u[1],assignClock1.u[2],assignClock1.y[1]