Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001367/0.001367, allocations: 179.3 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205 MB / 221.9 MB, free: 9.074 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007437/0.0007436, allocations: 93.67 kB / 269.9 MB, free: 8.656 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09324/0.09324, allocations: 12.57 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003857, allocations: 12 kB / 391.2 MB, free: 66.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.09944, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001181/0.1007, allocations: 0.6372 MB / 441.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003113/0.101, allocations: 135.6 kB / 441.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.1011, allocations: 3.938 kB / 441.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.1012, allocations: 3.938 kB / 441.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.015e-05/0.1013, allocations: 7.984 kB / 441.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.1016, allocations: 39.92 kB / 442 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.1017, allocations: 63.81 kB / 442 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1018, allocations: 40.44 kB / 442.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.2e-05/0.1019, allocations: 11.94 kB / 442.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.1019, allocations: 23.8 kB / 442.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.1019, allocations: 4 kB / 442.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.1019, allocations: 0 / 442.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.102, allocations: 27.89 kB / 442.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.1021, allocations: 35.69 kB / 442.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.1022, allocations: 67.7 kB / 442.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1022, allocations: 4 kB / 442.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1022, allocations: 0 / 442.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1022, allocations: 0 / 442.2 MB, free: 15.18 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.0003578/0.1026, allocations: 371.2 kB / 442.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1026, allocations: 8.031 kB / 442.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.1027, allocations: 46.73 kB / 442.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.1027, allocations: 12.75 kB / 442.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1029, allocations: 203 kB / 442.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1029, allocations: 12.36 kB / 442.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1029, allocations: 8.375 kB / 442.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.1033, allocations: 227.4 kB / 443.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1033, allocations: 7.875 kB / 443.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1033, allocations: 7.984 kB / 443.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1033, allocations: 0 / 443.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.1034, allocations: 39.98 kB / 443.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.1035, allocations: 189.5 kB / 443.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1037, allocations: 119 kB / 443.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1038, allocations: 90.67 kB / 443.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.1038, allocations: 4 kB / 443.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.1039, allocations: 34.56 kB / 443.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.173e-06/0.1039, allocations: 0 / 443.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002356/0.1041, allocations: 153.3 kB / 443.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.1042, allocations: 69.8 kB / 443.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.1043, allocations: 141.7 kB / 443.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.1043, allocations: 29.7 kB / 444 MB, free: 13.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.573e-05/0.1043, allocations: 84.47 kB / 444.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.1043, allocations: 15.98 kB / 444.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.1044, allocations: 25.7 kB / 444.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.1044, allocations: 322.8 kB / 444.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.543e-05/0.1045, allocations: 19.88 kB / 444.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.1045, allocations: 121.7 kB / 444.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.346e-05/0.1046, allocations: 153.5 kB / 444.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1046, allocations: 3.938 kB / 444.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001559/0.1048, allocations: 153.4 kB / 444.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1048, allocations: 11.94 kB / 444.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1048, allocations: 4 kB / 444.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1048, allocations: 4 kB / 444.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.258e-05/0.1049, allocations: 11.94 kB / 444.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1049, allocations: 7.984 kB / 444.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.1049, allocations: 15.84 kB / 444.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.105, allocations: 8 kB / 444.9 MB, free: 12.17 MB / 298.7 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.0001113/0.1051, allocations: 135 kB / 445 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1052, allocations: 121.5 kB / 445.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.1052, allocations: 25.17 kB / 445.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1052, allocations: 0 / 445.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.1053, allocations: 0 / 445.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1053, allocations: 3.938 kB / 445.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.504e-05/0.1053, allocations: 189.5 kB / 445.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1053, allocations: 0 / 445.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.1054, allocations: 4 kB / 445.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1054, allocations: 7.875 kB / 445.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1054, allocations: 8 kB / 445.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1054, allocations: 0 / 445.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1054, allocations: 3.984 kB / 445.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.1055, allocations: 148.9 kB / 445.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.1056, allocations: 108.8 kB / 445.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1056, allocations: 4 kB / 445.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.1057, allocations: 7.984 kB / 445.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-06/0.1057, allocations: 0 / 445.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1057, allocations: 8 kB / 445.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.784e-05/0.1057, allocations: 105.8 kB / 445.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1057, allocations: 0 / 445.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.106, allocations: 16 kB / 445.8 MB, free: 11.19 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.0004532/0.1064, allocations: 0.7497 MB / 446.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.1066, allocations: 91.84 kB / 446.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1066, allocations: 3.938 kB / 446.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.1066, allocations: 1.062 kB / 446.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.107, allocations: 79.94 kB / 446.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.108, allocations: 1.644 MB / 448.4 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.1082, allocations: 0.7165 MB / 449.1 MB, free: 7.676 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.879e-05/0.1082, allocations: 4.656 kB / 449.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.1082, allocations: 27.42 kB / 449.1 MB, free: 7.645 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1082, allocations: 0 / 449.1 MB, free: 7.645 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.1192, allocations: 2.149 MB / 451.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/0.1193, allocations: 247.1 kB / 451.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/1.754, allocations: 7.875 kB / 451.5 MB, free: 5.215 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches