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.001004/0.001004, allocations: 178.9 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.49/1.49, allocations: 205.4 MB / 222.6 MB, free: 9.117 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.000848/0.0008481, allocations: 82.36 kB / 270.9 MB, free: 8.359 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.07328/0.07328, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08187/0.08227, allocations: 50.38 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.00153/0.08384, allocations: 1.218 MB / 443.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003533/0.08421, allocations: 151.6 kB / 443.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.08431, allocations: 0 / 443.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.147e-05/0.08441, allocations: 3.938 kB / 443.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.177e-05/0.08451, allocations: 19.91 kB / 443.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.08475, allocations: 27.92 kB / 443.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.109e-05/0.08485, allocations: 31.86 kB / 443.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.08497, allocations: 19.97 kB / 443.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.08501, allocations: 7.938 kB / 443.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.08507, allocations: 19.92 kB / 443.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.08509, allocations: 0 / 443.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.08511, allocations: 0 / 443.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.08516, allocations: 19.94 kB / 443.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.08519, allocations: 29.64 kB / 443.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.853e-05/0.08527, allocations: 39.92 kB / 444 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.08528, allocations: 0 / 444 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.08529, allocations: 0 / 444 MB, free: 14.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.0853, allocations: 3.938 kB / 444 MB, free: 14.85 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.0004463/0.08575, allocations: 387.2 kB / 444.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.0858, allocations: 8.031 kB / 444.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.08585, allocations: 11.91 kB / 444.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.08602, allocations: 186.9 kB / 444.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.08604, allocations: 8 kB / 444.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.08606, allocations: 0 / 444.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.08635, allocations: 133.9 kB / 444.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.08637, allocations: 0 / 444.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.08638, allocations: 3.938 kB / 444.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.08641, allocations: 4 kB / 444.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.08654, allocations: 43.97 kB / 444.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.08689, allocations: 381.7 kB / 445.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.08702, allocations: 95.77 kB / 445.2 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.959e-05/0.0871, allocations: 42.62 kB / 445.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.08711, allocations: 0 / 445.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.08713, allocations: 34.56 kB / 445.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.08714, allocations: 0 / 445.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003123/0.08746, allocations: 125.8 kB / 445.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.08752, allocations: 106.8 kB / 445.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.08761, allocations: 149.5 kB / 445.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.08763, allocations: 25.7 kB / 445.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.08766, allocations: 92.08 kB / 445.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.08768, allocations: 7.906 kB / 445.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/0.08768, allocations: 0 / 445.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.08774, allocations: 322.9 kB / 446.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.004e-05/0.0878, allocations: 15.98 kB / 446.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.08787, allocations: 43.42 kB / 446.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/0.08793, allocations: 27.98 kB / 446.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.08795, allocations: 0 / 446.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001505/0.0881, allocations: 93.56 kB / 446.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.08812, allocations: 4 kB / 446.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.08813, allocations: 0 / 446.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.08815, allocations: 4 kB / 446.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.08823, allocations: 11.98 kB / 446.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.08824, allocations: 4 kB / 446.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.08829, allocations: 11.95 kB / 446.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.0883, allocations: 4 kB / 446.3 MB, free: 12.22 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.0001029/0.08841, allocations: 134.7 kB / 446.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/0.08849, allocations: 45.59 kB / 446.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.08852, allocations: 15.83 kB / 446.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.08853, allocations: 4 kB / 446.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.08854, allocations: 0 / 446.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.08855, allocations: 0 / 446.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.08872, allocations: 185.5 kB / 446.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.08873, allocations: 8 kB / 446.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.08878, allocations: 12.03 kB / 446.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.08878, allocations: 0 / 446.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.0888, allocations: 4 kB / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.0888, allocations: 4 kB / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.08881, allocations: 3.984 kB / 446.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.08899, allocations: 271.5 kB / 447 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.08904, allocations: 93.14 kB / 447.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.08906, allocations: 0 / 447.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.08916, allocations: 11.98 kB / 447.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.0892, allocations: 0 / 447.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.08921, allocations: 15.92 kB / 447.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.429e-05/0.08926, allocations: 103.3 kB / 447.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08926, allocations: 0 / 447.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.0895, allocations: 15.86 kB / 447.2 MB, free: 11.21 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 7.285e-05/0.08957, allocations: 107.1 kB / 447.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.08975, allocations: 55.91 kB / 447.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.08976, allocations: 0 / 447.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.573e-05/0.08982, allocations: 23.92 kB / 447.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.09018, allocations: 24.02 kB / 447.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.09046, allocations: 212.6 kB / 447.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.09058, allocations: 0.7004 MB / 448.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.09061, allocations: 11.44 kB / 448.3 MB, free: 10 MB / 298.7 MB Notification: Performance of SimCode: time 1.8e-07/0.09062, allocations: 0 / 448.3 MB, free: 10 MB / 298.7 MB Notification: Performance of Templates: time 0.001756/0.09238, allocations: 0.8228 MB / 449.2 MB, free: 9.18 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/jenkins/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