Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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/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_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_cpp_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.001449/0.001449, allocations: 178.1 kB / 16.77 MB, free: 4.902 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.197/1.197, allocations: 205.4 MB / 222.9 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.0006637/0.0006637, allocations: 95.72 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0562/0.0562, allocations: 12.19 MB / 331.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 12 kB / 392.2 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06189/0.06226, allocations: 50.29 MB / 442.5 MB, free: 16.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.0009402/0.06323, allocations: 0.7135 MB / 443.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003014/0.06355, allocations: 159.5 kB / 443.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.06364, allocations: 0 / 443.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.324e-05/0.06373, allocations: 7.922 kB / 443.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.247e-05/0.06382, allocations: 7.938 kB / 443.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.06401, allocations: 47.89 kB / 443.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.902e-05/0.0641, allocations: 59.84 kB / 443.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.06421, allocations: 43.97 kB / 443.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.06427, allocations: 23.84 kB / 443.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.097e-05/0.06432, allocations: 27.8 kB / 443.6 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.06434, allocations: 4 kB / 443.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.06435, allocations: 4 kB / 443.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.0644, allocations: 19.92 kB / 443.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.06445, allocations: 65.38 kB / 443.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.868e-05/0.06453, allocations: 51.89 kB / 443.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.06454, allocations: 0 / 443.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.06454, allocations: 0 / 443.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.06455, allocations: 0 / 443.7 MB, free: 15.32 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.0002974/0.06485, allocations: 387.4 kB / 444.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.06489, allocations: 15.97 kB / 444.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.06493, allocations: 42.73 kB / 444.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.06496, allocations: 16.84 kB / 444.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.0651, allocations: 212.5 kB / 444.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.06511, allocations: 4.375 kB / 444.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.06513, allocations: 8.375 kB / 444.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.06545, allocations: 226.8 kB / 444.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.06547, allocations: 0 / 444.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.06548, allocations: 4 kB / 444.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.06549, allocations: 0 / 444.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.724e-05/0.06555, allocations: 43.84 kB / 444.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.06566, allocations: 189.6 kB / 444.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.06582, allocations: 131 kB / 445 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.189e-05/0.06591, allocations: 69.81 kB / 445 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.06593, allocations: 4 kB / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.06595, allocations: 34.56 kB / 445.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.06596, allocations: 0 / 445.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002072/0.06617, allocations: 150.1 kB / 445.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.06621, allocations: 71.33 kB / 445.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/0.06629, allocations: 146.4 kB / 445.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.0663, allocations: 29.64 kB / 445.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.144e-05/0.06633, allocations: 92.45 kB / 445.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.06635, allocations: 8 kB / 445.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.06636, allocations: 4 kB / 445.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.598e-05/0.0664, allocations: 322.8 kB / 445.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.06643, allocations: 19.89 kB / 445.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.276e-05/0.06649, allocations: 126.6 kB / 446 MB, free: 12.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.648e-05/0.06658, allocations: 149.5 kB / 446.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.06659, allocations: 0 / 446.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001566/0.06675, allocations: 161.2 kB / 446.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.06677, allocations: 4 kB / 446.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.06678, allocations: 4.5 kB / 446.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.0668, allocations: 7.938 kB / 446.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.06689, allocations: 43.86 kB / 446.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.0669, allocations: 4 kB / 446.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.06696, allocations: 15.84 kB / 446.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.06697, allocations: 8 kB / 446.4 MB, free: 12.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.06704, allocations: 134.4 kB / 446.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.06715, allocations: 117.5 kB / 446.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.06719, allocations: 21.12 kB / 446.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.0672, allocations: 3.984 kB / 446.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.06721, allocations: 8 kB / 446.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.06721, allocations: 0 / 446.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.204e-05/0.06728, allocations: 189.5 kB / 446.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.06729, allocations: 0 / 446.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.06737, allocations: 23.98 kB / 446.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.06738, allocations: 4 kB / 446.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.06739, allocations: 3.938 kB / 446.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.0674, allocations: 0 / 446.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0674, allocations: 4 kB / 446.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.06755, allocations: 152.9 kB / 447.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.0676, allocations: 108.8 kB / 447.2 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.06762, allocations: 7.922 kB / 447.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.06765, allocations: 4 kB / 447.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-06/0.06766, allocations: 0 / 447.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.06767, allocations: 7.984 kB / 447.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.38e-05/0.06772, allocations: 111.2 kB / 447.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.06772, allocations: 0 / 447.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.06793, allocations: 16 kB / 447.3 MB, free: 11.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003205/0.06826, allocations: 0.7389 MB / 448.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.06839, allocations: 85.22 kB / 448.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0684, allocations: 256 / 448.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.0684, allocations: 7.938 kB / 448.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.06872, allocations: 72.36 kB / 448.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.06938, allocations: 0.758 MB / 449 MB, free: 9.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.823e-05/0.06949, allocations: 0.7243 MB / 449.7 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.06953, allocations: 23.44 kB / 449.7 MB, free: 8.719 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.06954, allocations: 4.188 kB / 449.7 MB, free: 8.715 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.343/2.412, allocations: 1.492 MB / 451.2 MB, free: 7.223 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,assignClock1.y[1],assignClock1.y[2],unitDelay1.y,unitDelay2.y Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,add1.k1,add1.k2,add1.u1,add1.u2,add1.y,assignClock1.n,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const.k,const.y,const1.k,const1.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,previous(unitDelay1.u),previous(unitDelay2.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start