Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_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.0009178/0.0009179, allocations: 174.7 kB / 16.11 MB, free: 5.574 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.217/1.217, allocations: 205 MB / 221.9 MB, free: 9.141 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.0007765/0.0007766, allocations: 100.7 kB / 269.9 MB, free: 8.664 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.07538/0.07538, allocations: 12.58 MB / 330.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 8 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09185/0.09223, allocations: 49.99 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001217/0.09349, allocations: 0.6247 MB / 441.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003383/0.09384, allocations: 143.5 kB / 441.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/0.09394, allocations: 4 kB / 441.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.09407, allocations: 7.938 kB / 441.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.0942, allocations: 15.92 kB / 441.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.09441, allocations: 35.91 kB / 442 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.09452, allocations: 63.83 kB / 442 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.09465, allocations: 55.89 kB / 442.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.199e-05/0.09469, allocations: 19.88 kB / 442.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.09477, allocations: 31.78 kB / 442.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.0948, allocations: 0 / 442.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.09482, allocations: 4 kB / 442.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.09487, allocations: 23.92 kB / 442.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.09492, allocations: 39.66 kB / 442.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.09503, allocations: 79.64 kB / 442.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.09504, allocations: 0 / 442.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09505, allocations: 0 / 442.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.279e-06/0.09506, allocations: 0 / 442.3 MB, free: 15.14 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.0003841/0.09545, allocations: 403.3 kB / 442.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.09549, allocations: 8.031 kB / 442.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.09553, allocations: 42.75 kB / 442.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.09557, allocations: 16.75 kB / 442.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.09572, allocations: 208 kB / 442.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.09574, allocations: 4.375 kB / 442.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.09576, allocations: 8.375 kB / 443 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.09609, allocations: 251.3 kB / 443.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.09611, allocations: 3.938 kB / 443.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.09612, allocations: 4 kB / 443.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.09613, allocations: 4 kB / 443.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.09621, allocations: 47.91 kB / 443.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.09633, allocations: 201.5 kB / 443.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.09653, allocations: 147 kB / 443.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-05/0.09663, allocations: 80.81 kB / 443.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.09665, allocations: 4 kB / 443.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.09668, allocations: 34.56 kB / 443.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.09668, allocations: 4 kB / 443.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002727/0.09696, allocations: 177.6 kB / 443.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.09702, allocations: 63.41 kB / 444 MB, free: 13.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.09713, allocations: 169.9 kB / 444.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.09715, allocations: 25.7 kB / 444.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.09719, allocations: 92.47 kB / 444.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.09721, allocations: 15.89 kB / 444.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.09725, allocations: 29.7 kB / 444.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.0973, allocations: 322.8 kB / 444.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.86e-05/0.09734, allocations: 19.98 kB / 444.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.09741, allocations: 124 kB / 444.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.09752, allocations: 153.5 kB / 444.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.09753, allocations: 4 kB / 444.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001741/0.09771, allocations: 165.6 kB / 445.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.09774, allocations: 11.94 kB / 445.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.09775, allocations: 4 kB / 445.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.09777, allocations: 8 kB / 445.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.09789, allocations: 31.98 kB / 445.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.09791, allocations: 7.938 kB / 445.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.09797, allocations: 19.78 kB / 445.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.09799, allocations: 8 kB / 445.1 MB, free: 11.94 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 (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 9.835e-05/0.09809, allocations: 142.6 kB / 445.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.09823, allocations: 141.3 kB / 445.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.09827, allocations: 17.19 kB / 445.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.09828, allocations: 4 kB / 445.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.09829, allocations: 0 / 445.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.0983, allocations: 7.969 kB / 445.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.962e-05/0.09837, allocations: 189.6 kB / 445.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.09838, allocations: 0 / 445.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.806e-05/0.09848, allocations: 27.92 kB / 445.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.09849, allocations: 7.938 kB / 445.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.09851, allocations: 0 / 445.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.09851, allocations: 8 kB / 445.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.09852, allocations: 0 / 445.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.09869, allocations: 164.8 kB / 445.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.09875, allocations: 104.9 kB / 445.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.09878, allocations: 11.94 kB / 446 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.949e-05/0.09882, allocations: 0 / 446 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-06/0.09882, allocations: 0 / 446 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.09884, allocations: 8 kB / 446 MB, free: 11.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.686e-05/0.0989, allocations: 115.2 kB / 446.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09891, allocations: 4 kB / 446.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.09912, allocations: 16 kB / 446.1 MB, free: 10.89 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,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.0004034/0.09953, allocations: 0.7691 MB / 446.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.09969, allocations: 107.9 kB / 447 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.0997, allocations: 4 kB / 447 MB, free: 9.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.09971, allocations: 0 / 447 MB, free: 9.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1001, allocations: 95.86 kB / 447.1 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1011, allocations: 1.727 MB / 448.8 MB, free: 7.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.1013, allocations: 0.7162 MB / 449.5 MB, free: 7.242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.505e-05/0.1013, allocations: 13.08 kB / 449.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.1014, allocations: 31.44 kB / 449.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1014, allocations: 0 / 449.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2469/0.3484, allocations: 2.337 MB / 451.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.3486, allocations: 239.1 kB / 452.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.266, allocations: 4 kB / 452.1 MB, free: 4.594 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches