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-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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008925/0.0008924, allocations: 176.6 kB / 16.45 MB, free: 5.684 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.6 MB, free: 9.109 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.0007389/0.0007389, allocations: 98.28 kB / 270.9 MB, free: 8.34 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.07177/0.07177, allocations: 12.59 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005624/0.0005625, allocations: 20 kB / 392 MB, free: 66.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07994/0.08052, allocations: 50.38 MB / 442.4 MB, free: 16.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001104/0.08167, allocations: 0.7169 MB / 443.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003064/0.08199, allocations: 143.6 kB / 443.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.08208, allocations: 3.938 kB / 443.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.003e-05/0.08217, allocations: 7.938 kB / 443.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.842e-05/0.08228, allocations: 11.92 kB / 443.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.08249, allocations: 31.97 kB / 443.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.895e-05/0.08259, allocations: 59.78 kB / 443.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.0827, allocations: 36.16 kB / 443.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.782e-05/0.08273, allocations: 11.94 kB / 443.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.08278, allocations: 27.78 kB / 443.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.08281, allocations: 4 kB / 443.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.08282, allocations: 0 / 443.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.08287, allocations: 19.92 kB / 443.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.08291, allocations: 37.64 kB / 443.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.873e-05/0.08299, allocations: 59.88 kB / 443.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.083, allocations: 4 kB / 443.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.083, allocations: 3.938 kB / 443.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.768e-06/0.08301, allocations: 0 / 443.6 MB, free: 15.26 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.0003138/0.08333, allocations: 391.1 kB / 443.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.08337, allocations: 8.031 kB / 443.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.08341, allocations: 15.89 kB / 444 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.08355, allocations: 195.3 kB / 444.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.08357, allocations: 7.953 kB / 444.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.08359, allocations: 12 kB / 444.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.0839, allocations: 218.8 kB / 444.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.08392, allocations: 3.953 kB / 444.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.08394, allocations: 4 kB / 444.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.08395, allocations: 7.984 kB / 444.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.77e-05/0.08401, allocations: 35.92 kB / 444.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.08412, allocations: 185.6 kB / 444.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.0843, allocations: 134.9 kB / 444.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.08439, allocations: 70.23 kB / 444.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.0844, allocations: 4 kB / 444.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.08442, allocations: 34.56 kB / 444.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.153e-06/0.08443, allocations: 0 / 444.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002135/0.08465, allocations: 154.1 kB / 445 MB, free: 13.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.08469, allocations: 59.41 kB / 445.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.08478, allocations: 146.9 kB / 445.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.08479, allocations: 33.7 kB / 445.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.08482, allocations: 88.45 kB / 445.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.08484, allocations: 12 kB / 445.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.08485, allocations: 4 kB / 445.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.0849, allocations: 322.8 kB / 445.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.08493, allocations: 15.98 kB / 445.7 MB, free: 12.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.08499, allocations: 129.7 kB / 445.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.823e-05/0.08504, allocations: 39.92 kB / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.08505, allocations: 0 / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000157/0.08521, allocations: 157.4 kB / 446 MB, free: 12.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.08523, allocations: 6.5 kB / 446 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.08524, allocations: 4 kB / 446 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.08526, allocations: 8 kB / 446 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.08536, allocations: 35.88 kB / 446 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.08537, allocations: 7.938 kB / 446 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.08543, allocations: 19.84 kB / 446.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.08544, allocations: 8.375 kB / 446.1 MB, free: 12.46 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.619e-05/0.08551, allocations: 141.7 kB / 446.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.08563, allocations: 113.5 kB / 446.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.08567, allocations: 25.17 kB / 446.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.08568, allocations: 4 kB / 446.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.08568, allocations: 3.953 kB / 446.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.08569, allocations: 0 / 446.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.302e-05/0.08578, allocations: 185.5 kB / 446.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.08579, allocations: 0 / 446.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.08587, allocations: 27.98 kB / 446.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.08588, allocations: 4 kB / 446.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.0859, allocations: 7.938 kB / 446.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.0859, allocations: 0 / 446.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.08591, allocations: 0 / 446.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.08604, allocations: 152.9 kB / 446.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.08609, allocations: 104.8 kB / 446.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.08611, allocations: 0 / 446.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.501e-05/0.08614, allocations: 4 kB / 446.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-06/0.08615, allocations: 4 kB / 446.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.08616, allocations: 4 kB / 446.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.66e-05/0.08621, allocations: 112.6 kB / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08622, allocations: 0 / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000193/0.08642, allocations: 16 kB / 447 MB, free: 11.47 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 6.16e-05/0.08648, allocations: 103.1 kB / 447.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.08662, allocations: 88.47 kB / 447.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.08663, allocations: 0 / 447.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.08663, allocations: 3.938 kB / 447.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.08696, allocations: 80.5 kB / 447.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.08726, allocations: 289.8 kB / 447.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.08738, allocations: 0.7126 MB / 448.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.08741, allocations: 11.44 kB / 448.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.08742, allocations: 4 kB / 448.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of Templates: time 0.002064/0.08948, allocations: 1.196 MB / 449.4 MB, free: 8.918 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (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 & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized --alarm=480 -emit_protected > 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/jenkins/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) Reference file matches