Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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.001623/0.001623, allocations: 172.4 kB / 16.14 MB, free: 5.656 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.501/1.501, allocations: 205.4 MB / 222.3 MB, free: 9.012 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.0008516/0.0008515, allocations: 86.31 kB / 270.7 MB, free: 8.25 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.08169/0.08169, allocations: 12.6 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004051, allocations: 16 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09368, allocations: 50.38 MB / 443.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001252/0.09498, allocations: 0.7324 MB / 443.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003558/0.09536, allocations: 135.6 kB / 444 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.0955, allocations: 4 kB / 444 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.91e-05/0.09561, allocations: 3.938 kB / 444 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.09573, allocations: 19.84 kB / 444 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.096, allocations: 35.98 kB / 444.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.09612, allocations: 63.78 kB / 444.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.09626, allocations: 43.94 kB / 444.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.589e-05/0.09631, allocations: 23.86 kB / 444.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.09636, allocations: 23.86 kB / 444.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.09639, allocations: 0 / 444.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.09641, allocations: 0 / 444.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/0.09648, allocations: 23.86 kB / 444.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.09654, allocations: 69.38 kB / 444.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.09665, allocations: 79.84 kB / 444.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.09666, allocations: 0 / 444.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09667, allocations: 0 / 444.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.09668, allocations: 0 / 444.4 MB, free: 14.06 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.0004013/0.09708, allocations: 387.1 kB / 444.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/0.09715, allocations: 15.97 kB / 444.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.09719, allocations: 38.75 kB / 444.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.09723, allocations: 16.75 kB / 444.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.0974, allocations: 196.8 kB / 445 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.09742, allocations: 8.375 kB / 445 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.09744, allocations: 8.375 kB / 445.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.09779, allocations: 230.6 kB / 445.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.09781, allocations: 0 / 445.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.09783, allocations: 8 kB / 445.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.09784, allocations: 0 / 445.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.507e-05/0.09791, allocations: 31.98 kB / 445.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.09804, allocations: 193.5 kB / 445.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.09824, allocations: 128 kB / 445.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.09834, allocations: 77.2 kB / 445.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.09836, allocations: 3.938 kB / 445.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.09839, allocations: 38.55 kB / 445.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.0984, allocations: 0 / 445.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002454/0.09865, allocations: 157.6 kB / 445.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.09871, allocations: 59.41 kB / 446 MB, free: 12.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-05/0.09881, allocations: 142.4 kB / 446.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.09883, allocations: 37.7 kB / 446.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.09887, allocations: 84.47 kB / 446.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.0989, allocations: 11.98 kB / 446.2 MB, free: 12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.09891, allocations: 4 kB / 446.2 MB, free: 12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.09897, allocations: 322.8 kB / 446.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/0.099, allocations: 23.89 kB / 446.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.09907, allocations: 120.6 kB / 446.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.09918, allocations: 153.5 kB / 446.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.09919, allocations: 3.938 kB / 446.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001783/0.09938, allocations: 153.2 kB / 447 MB, free: 11.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.0994, allocations: 11.94 kB / 447 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.09941, allocations: 4 kB / 447 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.09943, allocations: 4 kB / 447 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.09954, allocations: 35.92 kB / 447.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.09956, allocations: 7.938 kB / 447.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.09962, allocations: 12.34 kB / 447.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.09964, allocations: 19.98 kB / 447.1 MB, free: 11.04 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: 0 () * 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 8.81e-05/0.09973, allocations: 134.6 kB / 447.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.09986, allocations: 113.5 kB / 447.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.09991, allocations: 17.19 kB / 447.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.09992, allocations: 4 kB / 447.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.09993, allocations: 0 / 447.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.09994, allocations: 0 / 447.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.651e-05/0.1, allocations: 205.4 kB / 447.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1, allocations: 3.938 kB / 447.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.594e-05/0.1001, allocations: 27.94 kB / 447.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1001, allocations: 4 kB / 447.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1002, allocations: 0 / 447.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1002, allocations: 3.984 kB / 447.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1002, allocations: 4 kB / 447.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.1003, allocations: 145 kB / 447.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.1004, allocations: 104.8 kB / 447.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.1004, allocations: 4 kB / 447.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.633e-05/0.1005, allocations: 8 kB / 447.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-06/0.1005, allocations: 4 kB / 447.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.1005, allocations: 0 / 447.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.575e-05/0.1005, allocations: 112 kB / 448 MB, free: 10.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1005, allocations: 0 / 448 MB, free: 10.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.1008, allocations: 16 kB / 448 MB, free: 10.04 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: 0 () * 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.0004296/0.1012, allocations: 0.7379 MB / 448.7 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.1014, allocations: 91.78 kB / 448.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1014, allocations: 0 / 448.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.1014, allocations: 1.062 kB / 448.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1018, allocations: 76.58 kB / 448.9 MB, free: 9.109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1029, allocations: 1.68 MB / 450.6 MB, free: 7.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.1031, allocations: 0.7206 MB / 451.3 MB, free: 6.504 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.39e-05/0.1031, allocations: 8.641 kB / 451.3 MB, free: 6.496 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.035e-05/0.1032, allocations: 31.38 kB / 451.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1032, allocations: 0 / 451.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.1152, allocations: 2.194 MB / 453.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.1154, allocations: 239.5 kB / 453.8 MB, free: 4.004 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/1.85, allocations: 64 / 453.8 MB, free: 4.004 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat