Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_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_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.002198/0.002197, allocations: 177.7 kB / 8.046 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.306/2.306, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001085/0.001086, allocations: 97.69 kB / 261.8 MB, free: 13.45 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.1262/0.1262, allocations: 12.59 MB / 322.3 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/2.011e-05, allocations: 0 / 378.9 MB, free: 75.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.09795, allocations: 50.38 MB / 429.3 MB, free: 24.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.454/0.5521, allocations: 77.54 MB / 0.495 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.5524, allocations: 80.28 kB / 0.495 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006616/0.559, allocations: 1.665 MB / 0.4967 GB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5591, allocations: 0 / 0.4967 GB, free: 11.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.5591, allocations: 3.812 kB / 0.4967 GB, free: 11.57 MB / 330.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.0004242/0.5596, allocations: 369.4 kB / 0.497 GB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5596, allocations: 11.72 kB / 0.497 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.5597, allocations: 7.812 kB / 0.497 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.5599, allocations: 190.6 kB / 0.4972 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.5599, allocations: 10.77 kB / 0.4972 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.5599, allocations: 0 / 0.4972 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001272/0.5601, allocations: 26.28 kB / 0.4973 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.5603, allocations: 115.3 kB / 0.4974 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.5604, allocations: 0 / 0.4974 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.5604, allocations: 0 / 0.4974 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5604, allocations: 0 / 0.4974 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.5609, allocations: 367.8 kB / 0.4977 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.966e-05/0.561, allocations: 61.44 kB / 0.4978 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.5611, allocations: 31.31 kB / 0.4978 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.017e-05/0.5611, allocations: 7.844 kB / 0.4978 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.5612, allocations: 37.17 kB / 0.4979 GB, free: 10.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/0.5612, allocations: 0 / 0.4979 GB, free: 10.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002573/0.5614, allocations: 66.28 kB / 0.4979 GB, free: 10.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.5615, allocations: 106.8 kB / 0.498 GB, free: 10.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5616, allocations: 134.4 kB / 0.4982 GB, free: 10.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.5617, allocations: 29.7 kB / 0.4982 GB, free: 10.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.5617, allocations: 88.95 kB / 0.4983 GB, free: 10.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.5617, allocations: 10.23 kB / 0.4983 GB, free: 10.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.5618, allocations: 0 / 0.4983 GB, free: 10.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.905e-05/0.5618, allocations: 317.1 kB / 0.4986 GB, free: 9.738 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.259e-05/0.5619, allocations: 11 kB / 0.4986 GB, free: 9.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-05/0.5619, allocations: 33.8 kB / 0.4986 GB, free: 9.703 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.318e-05/0.562, allocations: 15.19 kB / 0.4986 GB, free: 9.699 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.562, allocations: 0 / 0.4986 GB, free: 9.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001407/0.5622, allocations: 77.47 kB / 0.4987 GB, free: 9.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5622, allocations: 3.875 kB / 0.4987 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5622, allocations: 3.844 kB / 0.4987 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5622, allocations: 128 / 0.4987 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.5624, allocations: 24.53 kB / 0.4987 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5624, allocations: 0 / 0.4987 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.415e-05/0.5625, allocations: 7.719 kB / 0.4987 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.5625, allocations: 5.922 kB / 0.4988 GB, free: 9.645 MB / 330.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 () * 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 6.238e-05/0.5626, allocations: 103.1 kB / 0.4988 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.5627, allocations: 54.64 kB / 0.4989 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.5628, allocations: 18.67 kB / 0.4989 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.5628, allocations: 0 / 0.4989 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.5628, allocations: 0 / 0.4989 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.5628, allocations: 3.844 kB / 0.4989 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.5631, allocations: 155.5 kB / 0.4991 GB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5631, allocations: 0 / 0.4991 GB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.5632, allocations: 18.72 kB / 0.4991 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.5632, allocations: 0 / 0.4991 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5633, allocations: 3.953 kB / 0.4991 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5633, allocations: 3.844 kB / 0.4991 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.5633, allocations: 7.156 kB / 0.4991 GB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.5635, allocations: 264.5 kB / 0.4994 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.5636, allocations: 103 kB / 0.4995 GB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.5636, allocations: 0 / 0.4995 GB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.5638, allocations: 10.23 kB / 0.4995 GB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.5639, allocations: 9.594 kB / 0.4995 GB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.5639, allocations: 3.938 kB / 0.4995 GB, free: 8.961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.714e-05/0.564, allocations: 116.4 kB / 0.4996 GB, free: 8.879 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.564, allocations: 0 / 0.4996 GB, free: 8.879 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003717/0.5644, allocations: 7.469 kB / 0.4996 GB, free: 8.879 MB / 330.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001037/0.5645, allocations: 101.7 kB / 0.4997 GB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.5646, allocations: 27.89 kB / 0.4997 GB, free: 8.785 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5646, allocations: 3.938 kB / 0.4997 GB, free: 8.781 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.5647, allocations: 13.52 kB / 0.4997 GB, free: 8.781 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.5651, allocations: 22.98 kB / 0.4998 GB, free: 8.777 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.5655, allocations: 127.9 kB / 0.4999 GB, free: 8.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.5657, allocations: 0.7087 MB / 0.5006 GB, free: 7.973 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.77e-05/0.5658, allocations: 7.5 kB / 0.5006 GB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.975e-05/0.5658, allocations: 11.28 kB / 0.5006 GB, free: 7.961 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5658, allocations: 0 / 0.5006 GB, free: 7.961 MB / 330.7 MB Notification: Performance of Templates: time 0.003452/0.5693, allocations: 0.5794 MB / 0.5012 GB, free: 7.891 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches