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.002994/0.003004, allocations: 188 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.147/4.147, allocations: 205.4 MB / 222.6 MB, free: 13.84 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.002089/0.002088, allocations: 102.8 kB / 270.9 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.2116/0.2116, allocations: 12.6 MB / 331.8 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009395/0.0009397, allocations: 16.5 kB / 392 MB, free: 54.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2055, allocations: 50.37 MB / 442.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002463/0.208, allocations: 0.7281 MB / 443.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006597/0.2088, allocations: 131.6 kB / 443.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.209, allocations: 0 / 443.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.2092, allocations: 3.938 kB / 443.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.2094, allocations: 19.91 kB / 443.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.2099, allocations: 35.91 kB / 443.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.2101, allocations: 47.89 kB / 443.3 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.2104, allocations: 28.16 kB / 443.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.052e-05/0.2105, allocations: 15.92 kB / 443.4 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.2106, allocations: 27.8 kB / 443.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.2107, allocations: 0 / 443.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.91e-05/0.2107, allocations: 8 kB / 443.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.2108, allocations: 15.92 kB / 443.4 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.2109, allocations: 41.64 kB / 443.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.2111, allocations: 55.89 kB / 443.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2111, allocations: 0 / 443.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2112, allocations: 0 / 443.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.2112, allocations: 0 / 443.5 MB, free: 10.45 MB / 282.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.0006485/0.2118, allocations: 391.7 kB / 443.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.2119, allocations: 8.031 kB / 443.9 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.212, allocations: 15.91 kB / 443.9 MB, free: 9.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.2123, allocations: 203.1 kB / 444.1 MB, free: 9.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.2124, allocations: 11.95 kB / 444.1 MB, free: 9.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.2124, allocations: 12 kB / 444.1 MB, free: 9.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.2132, allocations: 206.9 kB / 444.3 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.004107/0.2173, allocations: 7.953 kB / 444.3 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.2175, allocations: 3.984 kB / 444.3 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.2175, allocations: 4 kB / 444.4 MB, free: 9.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.2177, allocations: 39.86 kB / 444.4 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002936/0.2181, allocations: 189.5 kB / 444.6 MB, free: 9.234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.2186, allocations: 127 kB / 444.7 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.2186, allocations: 3.984 kB / 444.7 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.2187, allocations: 38.84 kB / 444.7 MB, free: 9.051 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 5.02e-06/0.2187, allocations: 0 / 444.7 MB, free: 9.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006083/0.2193, allocations: 153.2 kB / 444.9 MB, free: 8.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.2195, allocations: 67.39 kB / 445 MB, free: 8.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.2197, allocations: 143 kB / 445.1 MB, free: 8.664 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.2198, allocations: 25.7 kB / 445.1 MB, free: 8.633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.2199, allocations: 158.9 kB / 445.3 MB, free: 8.473 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.2199, allocations: 15.92 kB / 445.3 MB, free: 8.457 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.2199, allocations: 7.938 kB / 445.3 MB, free: 8.449 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.2201, allocations: 318.8 kB / 445.6 MB, free: 8.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.2202, allocations: 16 kB / 445.6 MB, free: 8.113 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.2204, allocations: 117.7 kB / 445.7 MB, free: 7.949 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.2206, allocations: 39.94 kB / 445.8 MB, free: 7.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.2206, allocations: 3.938 kB / 445.8 MB, free: 7.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004964/0.2211, allocations: 149.2 kB / 445.9 MB, free: 7.754 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.2212, allocations: 10.95 kB / 445.9 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.2212, allocations: 4 kB / 445.9 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.565e-05/0.2213, allocations: 8 kB / 446 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.2215, allocations: 35.92 kB / 446 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.2216, allocations: 12.39 kB / 446 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.2217, allocations: 15.91 kB / 446 MB, free: 7.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.2218, allocations: 12 kB / 446 MB, free: 7.66 MB / 282.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 0.0001735/0.222, allocations: 125.8 kB / 446.2 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/0.2223, allocations: 117.5 kB / 446.3 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/0.2224, allocations: 13.19 kB / 446.3 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2224, allocations: 4 kB / 446.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.2224, allocations: 3.984 kB / 446.3 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.2225, allocations: 3.953 kB / 446.3 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.2226, allocations: 193.5 kB / 446.5 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2227, allocations: 8 kB / 446.5 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.2229, allocations: 27.98 kB / 446.5 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.2229, allocations: 0 / 446.5 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.223, allocations: 0 / 446.5 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.223, allocations: 0 / 446.5 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.223, allocations: 7.938 kB / 446.5 MB, free: 7.102 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.2234, allocations: 148.8 kB / 446.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.2235, allocations: 97 kB / 446.8 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.2236, allocations: 11.98 kB / 446.8 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.2237, allocations: 0 / 446.8 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-06/0.2237, allocations: 4 kB / 446.8 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.2238, allocations: 4 kB / 446.8 MB, free: 6.805 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.2239, allocations: 112.6 kB / 446.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.224, allocations: 0 / 446.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009203/0.2249, allocations: 16 kB / 446.9 MB, free: 6.68 MB / 282.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.0001843/0.2251, allocations: 103.1 kB / 447 MB, free: 6.566 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004695/0.2298, allocations: 91.78 kB / 447.1 MB, free: 6.477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.2299, allocations: 0 / 447.1 MB, free: 6.477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.2299, allocations: 0 / 447.1 MB, free: 6.477 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/0.2307, allocations: 81.3 kB / 447.2 MB, free: 6.398 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.2316, allocations: 290.4 kB / 447.5 MB, free: 6.074 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.2319, allocations: 0.7165 MB / 448.2 MB, free: 5.332 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.357e-05/0.232, allocations: 19.44 kB / 448.2 MB, free: 5.316 MB / 282.7 MB Notification: Performance of SimCode: time 1.974e-06/0.232, allocations: 0 / 448.2 MB, free: 5.316 MB / 282.7 MB Notification: Performance of Templates: time 0.005939/0.238, allocations: 1.175 MB / 449.4 MB, free: 4.148 MB / 282.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/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) Reference file matches