Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002709/0.002715, allocations: 181.6 kB / 16.45 MB, free: 5.711 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.066/4.066, allocations: 205.4 MB / 222.6 MB, free: 9.121 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.001886/0.001885, allocations: 89.84 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.192/0.192, allocations: 12.6 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009431/0.0009438, allocations: 23.98 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2433, allocations: 50.37 MB / 442.4 MB, free: 16.47 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.007569/0.251, allocations: 1.294 MB / 443.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2526, allocations: 0.4883 MB / 444.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.2528, allocations: 7.938 kB / 444.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.2529, allocations: 3.938 kB / 444.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.2531, allocations: 11.97 kB / 444.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.2538, allocations: 51.83 kB / 444.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.254, allocations: 43.88 kB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.2541, allocations: 11.98 kB / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.2543, allocations: 15.94 kB / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.2544, allocations: 27.84 kB / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.2544, allocations: 4 kB / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.423e-05/0.2545, allocations: 0 / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.2546, allocations: 15.98 kB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.2546, allocations: 37.64 kB / 444.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.2548, allocations: 43.92 kB / 444.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2548, allocations: 0 / 444.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.2548, allocations: 0 / 444.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.2548, allocations: 0 / 444.4 MB, free: 14.39 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.0007913/0.2556, allocations: 387.1 kB / 444.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.942e-05/0.2557, allocations: 11.97 kB / 444.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.2558, allocations: 11.91 kB / 444.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.2562, allocations: 198.8 kB / 445 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.2562, allocations: 4 kB / 445 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.2562, allocations: 4 kB / 445 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/0.2568, allocations: 129.9 kB / 445.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.2569, allocations: 0 / 445.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.2569, allocations: 0 / 445.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.2569, allocations: 4 kB / 445.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.2573, allocations: 47.91 kB / 445.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.2583, allocations: 381.9 kB / 445.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.2588, allocations: 91.77 kB / 445.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.2588, allocations: 0 / 445.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.2589, allocations: 38.56 kB / 445.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 3.187e-06/0.2589, allocations: 0 / 445.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.001079/0.26, allocations: 206.6 kB / 445.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.2602, allocations: 106.8 kB / 446 MB, free: 12.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.2605, allocations: 158.4 kB / 446.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.2605, allocations: 25.7 kB / 446.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.408e-05/0.2607, allocations: 166.5 kB / 446.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.2607, allocations: 7.891 kB / 446.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.2608, allocations: 3.938 kB / 446.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2609, allocations: 314.8 kB / 446.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.2611, allocations: 27.92 kB / 446.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.2613, allocations: 47.42 kB / 446.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/0.2636, allocations: 27.97 kB / 446.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.2637, allocations: 4 kB / 446.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004764/0.2642, allocations: 85.61 kB / 446.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.2643, allocations: 4 kB / 446.9 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.2643, allocations: 7.922 kB / 446.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/0.2643, allocations: 4 kB / 446.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.2646, allocations: 16.06 kB / 446.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.2646, allocations: 4 kB / 446.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.2648, allocations: 7.984 kB / 446.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.2648, allocations: 8 kB / 446.9 MB, free: 11.61 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: 0 () * 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.0001525/0.265, allocations: 125.7 kB / 447 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.2652, allocations: 45.61 kB / 447.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.2652, allocations: 27.92 kB / 447.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/0.2653, allocations: 4 kB / 447.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2653, allocations: 4 kB / 447.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2653, allocations: 0 / 447.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.2658, allocations: 185.6 kB / 447.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.2658, allocations: 0 / 447.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.266, allocations: 15.92 kB / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.2661, allocations: 0 / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.2661, allocations: 4 kB / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.2661, allocations: 0 / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2661, allocations: 4 kB / 447.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/0.2667, allocations: 299 kB / 447.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.2668, allocations: 100.9 kB / 447.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.2669, allocations: 4 kB / 447.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.2672, allocations: 7.984 kB / 447.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.201e-05/0.2672, allocations: 7.922 kB / 447.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.2673, allocations: 4 kB / 447.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001451/0.2674, allocations: 119.1 kB / 447.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.2675, allocations: 4 kB / 447.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006337/0.2681, allocations: 11.95 kB / 447.9 MB, free: 10.54 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: 0 () * 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.0001508/0.2683, allocations: 95.19 kB / 447.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004786/0.2688, allocations: 55.91 kB / 448 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.2688, allocations: 4.25 kB / 448 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.269, allocations: 23.98 kB / 448 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000705/0.2697, allocations: 25.38 kB / 448.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008119/0.2705, allocations: 265.1 kB / 448.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.2708, allocations: 0.7004 MB / 449 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.2709, allocations: 11.42 kB / 449 MB, free: 9.289 MB / 298.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2709, allocations: 0 / 449 MB, free: 9.289 MB / 298.7 MB Notification: Performance of Templates: time 0.005489/0.2764, allocations: 0.9015 MB / 449.9 MB, free: 8.391 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches