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.001531/0.001531, allocations: 174.1 kB / 16.8 MB, free: 5.008 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.476/1.476, allocations: 205.4 MB / 223 MB, free: 9.016 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.0008187/0.0008191, allocations: 92.98 kB / 271.3 MB, free: 8.234 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.08211/0.08211, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004102, allocations: 8 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.09092, allocations: 50.38 MB / 443.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001643/0.09262, allocations: 1.325 MB / 445 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000738/0.09338, allocations: 0.4997 MB / 445.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.806e-05/0.0935, allocations: 3.938 kB / 445.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.09361, allocations: 3.984 kB / 445.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.09373, allocations: 19.81 kB / 445.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.09399, allocations: 47.88 kB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.48e-05/0.09409, allocations: 47.86 kB / 445.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.689e-05/0.0942, allocations: 15.98 kB / 445.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.112e-05/0.09428, allocations: 35.8 kB / 445.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.09434, allocations: 27.84 kB / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.09437, allocations: 0 / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.09439, allocations: 4 kB / 445.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.128e-05/0.09445, allocations: 11.92 kB / 445.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.0945, allocations: 53.52 kB / 445.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.174e-05/0.09458, allocations: 44.19 kB / 445.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.09459, allocations: 3.938 kB / 445.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09459, allocations: 0 / 445.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.0946, allocations: 0 / 445.8 MB, free: 13.25 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.0004129/0.09502, allocations: 391.1 kB / 446.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.09506, allocations: 8.031 kB / 446.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.0951, allocations: 8.844 kB / 446.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.09526, allocations: 200 kB / 446.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.09527, allocations: 4.375 kB / 446.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.0953, allocations: 8.359 kB / 446.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.09556, allocations: 134.2 kB / 446.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.09558, allocations: 0 / 446.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.0956, allocations: 3.984 kB / 446.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.09563, allocations: 4 kB / 446.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.09576, allocations: 47.97 kB / 446.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.09621, allocations: 385.8 kB / 447 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.09636, allocations: 83.78 kB / 447.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.23e-05/0.09645, allocations: 50.61 kB / 447.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.09648, allocations: 0 / 447.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.09651, allocations: 34.56 kB / 447.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.09651, allocations: 3.938 kB / 447.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003576/0.09688, allocations: 129.5 kB / 447.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.09694, allocations: 102.8 kB / 447.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.09704, allocations: 162 kB / 447.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.09706, allocations: 25.7 kB / 447.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.0971, allocations: 100.4 kB / 447.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.09713, allocations: 3.906 kB / 447.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.09714, allocations: 8 kB / 447.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.0972, allocations: 318.8 kB / 448 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.09728, allocations: 23.98 kB / 448 MB, free: 10.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.33e-05/0.09735, allocations: 51.36 kB / 448.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.09749, allocations: 67.41 kB / 448.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.0975, allocations: 4 kB / 448.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001742/0.09768, allocations: 93.53 kB / 448.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.0977, allocations: 4.125 kB / 448.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.09771, allocations: 4 kB / 448.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.09773, allocations: 4 kB / 448.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.09783, allocations: 15.98 kB / 448.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.09785, allocations: 4 kB / 448.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.09791, allocations: 7.906 kB / 448.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.09793, allocations: 7.984 kB / 448.3 MB, free: 10.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/0.09801, allocations: 118.7 kB / 448.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.09809, allocations: 61.53 kB / 448.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.09813, allocations: 19.91 kB / 448.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.09814, allocations: 7.984 kB / 448.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.09815, allocations: 3.938 kB / 448.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.09816, allocations: 0 / 448.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.09834, allocations: 189.6 kB / 448.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.09835, allocations: 0 / 448.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.09842, allocations: 8 kB / 448.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.09843, allocations: 0 / 448.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.09845, allocations: 12.02 kB / 448.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.09845, allocations: 0 / 448.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.09846, allocations: 0 / 448.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.09868, allocations: 283.4 kB / 449 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.09873, allocations: 92.94 kB / 449.1 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.09875, allocations: 8 kB / 449.1 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.09887, allocations: 7.984 kB / 449.1 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.09892, allocations: 0 / 449.1 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.09893, allocations: 7.938 kB / 449.1 MB, free: 9.598 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.8e-05/0.099, allocations: 115.1 kB / 449.2 MB, free: 9.484 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.099, allocations: 4 kB / 449.2 MB, free: 9.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002427/0.09925, allocations: 8 kB / 449.2 MB, free: 9.473 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.826e-05/0.09933, allocations: 95.25 kB / 449.3 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.09952, allocations: 59.83 kB / 449.4 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.09954, allocations: 8.25 kB / 449.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.57e-05/0.09961, allocations: 23.92 kB / 449.4 MB, free: 9.281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.1001, allocations: 25.44 kB / 449.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.1005, allocations: 265.4 kB / 449.7 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.1007, allocations: 0.6965 MB / 450.4 MB, free: 8.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.1007, allocations: 7.438 kB / 450.4 MB, free: 8.227 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1007, allocations: 4 kB / 450.4 MB, free: 8.223 MB / 298.7 MB Notification: Performance of Templates: time 0.002242/0.103, allocations: 0.929 MB / 451.3 MB, free: 7.297 MB / 298.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