Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_cpp_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.0008366/0.0008365, allocations: 175 kB / 16.76 MB, free: 4.906 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.195/1.195, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007409/0.0007408, allocations: 90.34 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05746/0.05746, allocations: 12.2 MB / 331.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003686, allocations: 12 kB / 392.2 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06201/0.06239, allocations: 50.29 MB / 442.5 MB, free: 16.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.0008562/0.06328, allocations: 0.6019 MB / 443.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003028/0.0636, allocations: 163.6 kB / 443.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.06368, allocations: 3.938 kB / 443.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.662e-05/0.06376, allocations: 7.922 kB / 443.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.06387, allocations: 11.94 kB / 443.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.06404, allocations: 43.89 kB / 443.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.704e-05/0.06414, allocations: 59.84 kB / 443.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.06425, allocations: 47.97 kB / 443.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.0643, allocations: 19.86 kB / 443.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.414e-05/0.06436, allocations: 35.78 kB / 443.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.06438, allocations: 4 kB / 443.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.0644, allocations: 0 / 443.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.528e-05/0.06444, allocations: 27.92 kB / 443.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.06449, allocations: 61.39 kB / 443.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.635e-05/0.06456, allocations: 63.88 kB / 443.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.06457, allocations: 0 / 443.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.06458, allocations: 0 / 443.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.06458, allocations: 0 / 443.6 MB, free: 15.4 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.0003113/0.0649, allocations: 391.3 kB / 444 MB, free: 14.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.06494, allocations: 12.03 kB / 444 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.06497, allocations: 42.73 kB / 444.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.065, allocations: 20.75 kB / 444.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.06514, allocations: 216 kB / 444.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.06516, allocations: 4.375 kB / 444.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.06518, allocations: 8.375 kB / 444.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.06551, allocations: 259.2 kB / 444.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.06553, allocations: 0 / 444.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.06554, allocations: 0 / 444.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.06555, allocations: 4 kB / 444.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.419e-05/0.06562, allocations: 43.97 kB / 444.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.789e-05/0.06572, allocations: 201.4 kB / 444.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.06591, allocations: 147 kB / 445 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/0.066, allocations: 84.81 kB / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.06602, allocations: 4 kB / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.919e-06/0.06603, allocations: 30.56 kB / 445.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 9.62e-07/0.06604, allocations: 0 / 445.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002192/0.06626, allocations: 171.1 kB / 445.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.0663, allocations: 63.41 kB / 445.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.06639, allocations: 173.9 kB / 445.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.06641, allocations: 29.7 kB / 445.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.06643, allocations: 92.47 kB / 445.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.06645, allocations: 7.891 kB / 445.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.06646, allocations: 11.94 kB / 445.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.583e-05/0.0665, allocations: 322.8 kB / 445.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/0.06654, allocations: 23.98 kB / 445.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.251e-05/0.06659, allocations: 115 kB / 446.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.741e-05/0.06669, allocations: 165.5 kB / 446.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.06669, allocations: 0 / 446.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001542/0.06685, allocations: 161.2 kB / 446.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.06687, allocations: 9.875 kB / 446.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.06688, allocations: 4 kB / 446.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.0669, allocations: 4 kB / 446.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.06699, allocations: 32.42 kB / 446.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.06701, allocations: 11.94 kB / 446.4 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.06706, allocations: 19.78 kB / 446.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.06708, allocations: 12 kB / 446.5 MB, free: 12.23 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,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.993e-05/0.06715, allocations: 141.5 kB / 446.6 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.06728, allocations: 137.3 kB / 446.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.06732, allocations: 25.17 kB / 446.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.06733, allocations: 4 kB / 446.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.06733, allocations: 0 / 446.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.06734, allocations: 7.938 kB / 446.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.153e-05/0.06741, allocations: 189.6 kB / 447 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.06741, allocations: 0 / 447 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.503e-05/0.06751, allocations: 23.98 kB / 447 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.06752, allocations: 4 kB / 447 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.06754, allocations: 4 kB / 447 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.06754, allocations: 3.938 kB / 447 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.06755, allocations: 0 / 447 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.06769, allocations: 176.8 kB / 447.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.06774, allocations: 104.9 kB / 447.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.06776, allocations: 0 / 447.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.912e-05/0.0678, allocations: 8 kB / 447.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-06/0.0678, allocations: 3.984 kB / 447.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.06782, allocations: 7.984 kB / 447.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.709e-05/0.06787, allocations: 119.2 kB / 447.4 MB, free: 11.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06787, allocations: 0 / 447.4 MB, free: 11.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.06808, allocations: 16 kB / 447.4 MB, free: 11.17 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 (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.0003399/0.06842, allocations: 0.7645 MB / 448.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.06856, allocations: 96.72 kB / 448.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.06856, allocations: 4.062 kB / 448.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.06857, allocations: 0 / 448.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.06887, allocations: 97.98 kB / 448.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000655/0.06954, allocations: 0.7996 MB / 449.2 MB, free: 9.281 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.972e-05/0.06965, allocations: 0.72 MB / 449.9 MB, free: 8.535 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.06969, allocations: 31.56 kB / 449.9 MB, free: 8.508 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.0697, allocations: 0 / 449.9 MB, free: 8.508 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.283/2.353, allocations: 1.652 MB / 451.6 MB, free: 6.852 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,sum1.y,sum2.y,unitDelay1.y,unitDelay2.y Variables in the result: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),sum1.k[1],sum1.k[2],sum1.nu,sum1.u[1],sum1.u[2],sum1.y,sum2.k[1],sum2.k[2],sum2.nu,sum2.u[1],sum2.u[2],sum2.y,time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start