Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002731/0.002736, allocations: 182.3 kB / 16.45 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.773/3.773, allocations: 205.4 MB / 222.6 MB, free: 9.113 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.001883/0.001883, allocations: 94.03 kB / 270.9 MB, free: 8.371 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.1883/0.1883, allocations: 12.6 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001338, allocations: 16 kB / 392 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2012, allocations: 50.38 MB / 442.4 MB, free: 16.47 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002977/0.2043, allocations: 1.218 MB / 443.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000604/0.2049, allocations: 144.3 kB / 443.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.2051, allocations: 0 / 443.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.2052, allocations: 7.922 kB / 443.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.2054, allocations: 4 kB / 443.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.2059, allocations: 35.84 kB / 443.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.2061, allocations: 31.89 kB / 443.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.2062, allocations: 15.98 kB / 443.8 MB, free: 15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.578e-05/0.2063, allocations: 11.94 kB / 443.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.2064, allocations: 19.86 kB / 443.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.2065, allocations: 0 / 443.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.522e-05/0.2065, allocations: 4 kB / 443.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.2066, allocations: 11.92 kB / 443.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.2066, allocations: 37.64 kB / 443.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.2068, allocations: 35.94 kB / 443.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2068, allocations: 0 / 443.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.2068, allocations: 0 / 443.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2069, allocations: 0 / 443.9 MB, free: 14.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007065/0.2076, allocations: 383.2 kB / 444.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.2077, allocations: 8.031 kB / 444.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.2077, allocations: 11.91 kB / 444.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.208, allocations: 190.9 kB / 444.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.2081, allocations: 3.984 kB / 444.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.2081, allocations: 8 kB / 444.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005574/0.2087, allocations: 121.9 kB / 444.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2088, allocations: 0 / 444.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.2088, allocations: 3.984 kB / 444.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/0.2089, allocations: 4 kB / 444.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.2093, allocations: 47.91 kB / 444.7 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.2101, allocations: 385.7 kB / 445.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.2105, allocations: 91.83 kB / 445.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2105, allocations: 0 / 445.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2106, allocations: 34.56 kB / 445.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 3.677e-06/0.2106, allocations: 0 / 445.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0008722/0.2115, allocations: 202.9 kB / 445.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.2116, allocations: 106.8 kB / 445.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.2118, allocations: 149.5 kB / 445.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.2119, allocations: 25.7 kB / 445.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.2119, allocations: 154.6 kB / 445.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.212, allocations: 7.906 kB / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/0.212, allocations: 4 kB / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.2121, allocations: 318.9 kB / 446.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.2123, allocations: 15.98 kB / 446.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.2125, allocations: 47.36 kB / 446.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.2128, allocations: 27.98 kB / 446.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2128, allocations: 0 / 446.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004995/0.2133, allocations: 93.56 kB / 446.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.2134, allocations: 7.938 kB / 446.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.2134, allocations: 4 kB / 446.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.2134, allocations: 0 / 446.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004358/0.2178, allocations: 12 kB / 446.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.2179, allocations: 0 / 446.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.2181, allocations: 7.984 kB / 446.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.2181, allocations: 7.953 kB / 446.4 MB, free: 12.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[2],sample.u[1],sample.y[2],sample.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0002381/0.2184, allocations: 129.9 kB / 446.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.2186, allocations: 53.55 kB / 446.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.2187, allocations: 15.81 kB / 446.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.181e-05/0.2187, allocations: 4 kB / 446.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.2188, allocations: 0 / 446.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.2188, allocations: 4 kB / 446.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.2192, allocations: 173.6 kB / 446.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.2193, allocations: 4 kB / 446.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.2194, allocations: 16.02 kB / 446.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.2195, allocations: 0 / 446.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.2195, allocations: 4 kB / 446.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.974e-06/0.2195, allocations: 0 / 446.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2196, allocations: 0 / 446.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/0.2201, allocations: 302.9 kB / 447 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.2203, allocations: 93 kB / 447.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.2203, allocations: 4 kB / 447.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.2206, allocations: 11.98 kB / 447.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.2207, allocations: 3.953 kB / 447.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.2208, allocations: 4 kB / 447.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001382/0.2209, allocations: 107.9 kB / 447.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.2209, allocations: 0 / 447.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000633/0.2216, allocations: 8 kB / 447.3 MB, free: 11.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[2],sample.u[1],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001936/0.2218, allocations: 99.19 kB / 447.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005143/0.2224, allocations: 59.89 kB / 447.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.2224, allocations: 0 / 447.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.2226, allocations: 23.92 kB / 447.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/0.2233, allocations: 28.44 kB / 447.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007/0.224, allocations: 220 kB / 447.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.2243, allocations: 0.7004 MB / 448.4 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.2244, allocations: 7.438 kB / 448.4 MB, free: 9.902 MB / 298.7 MB Notification: Performance of SimCode: time 2.054e-06/0.2244, allocations: 3.938 kB / 448.4 MB, free: 9.898 MB / 298.7 MB Notification: Performance of Templates: time 0.004498/0.2289, allocations: 0.817 MB / 449.2 MB, free: 9.082 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches