Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001155/0.001155, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001743/0.001743, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 58.91 kB / 307 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.0954, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002368/0.09781, allocations: 0.907 MB / 358.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003935/0.09823, allocations: 131.5 kB / 358.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.09835, allocations: 0 / 358.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.09849, allocations: 11.86 kB / 358.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.585e-05/0.09859, allocations: 7.938 kB / 358.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.09884, allocations: 47.88 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.09895, allocations: 63.84 kB / 358.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.09909, allocations: 48.17 kB / 358.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.627e-05/0.09913, allocations: 23.92 kB / 358.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.09918, allocations: 31.78 kB / 358.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.09921, allocations: 12 kB / 358.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.09923, allocations: 4 kB / 358.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.0993, allocations: 23.92 kB / 358.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.09936, allocations: 39.73 kB / 358.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.09948, allocations: 83.64 kB / 359 MB, free: 12.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.0995, allocations: 0 / 359 MB, free: 12.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.0995, allocations: 0 / 359 MB, free: 12.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.09951, allocations: 0 / 359 MB, free: 12.56 MB / 302.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.0003779/0.09989, allocations: 383.3 kB / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.09994, allocations: 19.95 kB / 359.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.09998, allocations: 46.75 kB / 359.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.1, allocations: 8.844 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.1002, allocations: 204 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.1002, allocations: 8.375 kB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1002, allocations: 4.375 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.1006, allocations: 218.1 kB / 359.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1006, allocations: 3.938 kB / 359.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1006, allocations: 0 / 359.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1007, allocations: 4 kB / 359.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.919e-05/0.1007, allocations: 35.98 kB / 359.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.1009, allocations: 189.5 kB / 360.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.1011, allocations: 133.1 kB / 360.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.1012, allocations: 81.19 kB / 360.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.1012, allocations: 7.938 kB / 360.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.1013, allocations: 30.56 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.1013, allocations: 0 / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002668/0.1015, allocations: 157.4 kB / 360.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.1016, allocations: 63.41 kB / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.1017, allocations: 148.3 kB / 360.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1017, allocations: 33.7 kB / 360.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.1018, allocations: 84.47 kB / 360.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.1018, allocations: 15.89 kB / 360.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.1019, allocations: 29.72 kB / 360.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.102, allocations: 322.8 kB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.102, allocations: 27.92 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.973e-05/0.1021, allocations: 113.7 kB / 361.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1023, allocations: 149.5 kB / 361.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1023, allocations: 0 / 361.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001966/0.1025, allocations: 157.2 kB / 361.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1025, allocations: 11.94 kB / 361.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1025, allocations: 8.484 kB / 361.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1025, allocations: 4 kB / 361.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.397e-05/0.1026, allocations: 15.94 kB / 361.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1026, allocations: 7.984 kB / 361.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.1026, allocations: 11.91 kB / 361.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1027, allocations: 8 kB / 361.7 MB, free: 9.543 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.0001542/0.1028, allocations: 153.6 kB / 361.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.103, allocations: 120.1 kB / 362 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.103, allocations: 17.19 kB / 362 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.103, allocations: 4 kB / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.103, allocations: 0 / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.1031, allocations: 11.98 kB / 362 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.1032, allocations: 189.5 kB / 362.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1032, allocations: 3.984 kB / 362.2 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.1032, allocations: 0 / 362.2 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.1032, allocations: 7.938 kB / 362.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1032, allocations: 4 kB / 362.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1033, allocations: 0 / 362.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1033, allocations: 0 / 362.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.1034, allocations: 156.9 kB / 362.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.178e-05/0.1035, allocations: 108.8 kB / 362.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.1036, allocations: 0 / 362.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/0.1036, allocations: 4 kB / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-06/0.1036, allocations: 4 kB / 362.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.1036, allocations: 0 / 362.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.716e-05/0.1037, allocations: 110.1 kB / 362.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1037, allocations: 0 / 362.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.1039, allocations: 24 kB / 362.6 MB, free: 8.543 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.000548/0.1045, allocations: 0.743 MB / 363.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1047, allocations: 108.4 kB / 363.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1047, allocations: 3.938 kB / 363.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.1047, allocations: 3.938 kB / 363.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1051, allocations: 79.95 kB / 363.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.1065, allocations: 1.619 MB / 365.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1067, allocations: 0.7084 MB / 365.9 MB, free: 5.047 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.557e-05/0.1068, allocations: 8.438 kB / 365.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.1068, allocations: 31.42 kB / 365.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1068, allocations: 0 / 365.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.1249, allocations: 2.376 MB / 368.3 MB, free: 2.754 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/7.75, allocations: 7.797 kB / 368.3 MB, free: 2.746 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches