Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00749/0.00749, allocations: 90.47 kB / 15.91 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 197.7 kB / 16.83 MB, free: 6.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.1 MB / 222.7 MB, free: 4.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08336/0.08336, allocations: 12.59 MB / 282.6 MB, free: 8.91 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 83.86 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1304, allocations: 49.39 MB / 392.2 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003418/0.1338, allocations: 1.582 MB / 393.8 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004262/0.1343, allocations: 143.5 kB / 393.9 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.643e-05/0.1344, allocations: 4 kB / 393.9 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.1346, allocations: 3.938 kB / 393.9 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.1347, allocations: 7.984 kB / 393.9 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.135, allocations: 35.86 kB / 394 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.1351, allocations: 51.77 kB / 394 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1352, allocations: 12 kB / 394 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.222e-05/0.1353, allocations: 15.92 kB / 394 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.908e-05/0.1353, allocations: 15.88 kB / 394.1 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1354, allocations: 0 / 394.1 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.246e-05/0.1354, allocations: 8 kB / 394.1 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.1355, allocations: 11.98 kB / 394.1 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.1356, allocations: 35.73 kB / 394.1 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1357, allocations: 47.81 kB / 394.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1357, allocations: 0 / 394.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1357, allocations: 0 / 394.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1357, allocations: 0 / 394.2 MB, free: 1.738 MB / 286.1 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.0006989/0.1364, allocations: 383.3 kB / 394.5 MB, free: 1.312 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.1365, allocations: 12.03 kB / 394.5 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.1365, allocations: 12.84 kB / 394.6 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.1368, allocations: 204 kB / 394.8 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1368, allocations: 4.375 kB / 394.8 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.1369, allocations: 384 / 394.8 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.1373, allocations: 126.4 kB / 394.9 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1373, allocations: 4.188 kB / 394.9 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1373, allocations: 3.938 kB / 394.9 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.1373, allocations: 4 kB / 394.9 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.1375, allocations: 31.97 kB / 394.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.138, allocations: 365.9 kB / 395.3 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1382, allocations: 83.7 kB / 395.4 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1383, allocations: 38.62 kB / 395.4 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.1384, allocations: 4 kB / 395.4 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.1384, allocations: 34.56 kB / 395.4 MB, free: 248 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1384, allocations: 0 / 395.4 MB, free: 248 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000433/0.1389, allocations: 113.8 kB / 395.5 MB, free: 128 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.139, allocations: 110.8 kB / 395.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1392, allocations: 145.6 kB / 395.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1392, allocations: 25.7 kB / 395.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.1393, allocations: 92.05 kB / 395.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.1393, allocations: 0 / 395.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.1394, allocations: 29.61 kB / 395.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.1396, allocations: 322.8 kB / 396.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.641e-05/0.1397, allocations: 19.92 kB / 396.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.392e-05/0.1398, allocations: 39.42 kB / 396.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.1399, allocations: 67.34 kB / 396.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.14, allocations: 3.938 kB / 396.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001811/0.1401, allocations: 77.53 kB / 396.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1402, allocations: 9.25 kB / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1402, allocations: 0 / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1402, allocations: 0 / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1403, allocations: 20.11 kB / 396.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1403, allocations: 0 / 396.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.1404, allocations: 8 kB / 396.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.1404, allocations: 0 / 396.5 MB, free: 15.09 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.1407, allocations: 125.8 kB / 396.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.1408, allocations: 53.62 kB / 396.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.1408, allocations: 15.86 kB / 396.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.1408, allocations: 4 kB / 396.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1409, allocations: 4.031 kB / 396.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1409, allocations: 3.984 kB / 396.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.1411, allocations: 173.6 kB / 396.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.1411, allocations: 4 kB / 396.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.1412, allocations: 4 kB / 396.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1412, allocations: 0 / 396.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1412, allocations: 4 kB / 396.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.1412, allocations: 7.984 kB / 396.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1412, allocations: 0 / 396.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.1415, allocations: 271.4 kB / 397.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.1416, allocations: 100.9 kB / 397.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.1416, allocations: 0 / 397.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/0.1417, allocations: 4 kB / 397.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.1418, allocations: 7.984 kB / 397.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1418, allocations: 4 kB / 397.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.784e-05/0.1419, allocations: 103.3 kB / 397.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1419, allocations: 0 / 397.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1422, allocations: 8 kB / 397.4 MB, free: 14.1 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.96e-05/0.1423, allocations: 103.2 kB / 397.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1424, allocations: 52.03 kB / 397.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1425, allocations: 0 / 397.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.1425, allocations: 23.92 kB / 397.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.1429, allocations: 31.89 kB / 397.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.1434, allocations: 201.1 kB / 397.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1437, allocations: 0.7004 MB / 398.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.109e-05/0.1438, allocations: 7.984 kB / 398.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.1438, allocations: 15.42 kB / 398.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1438, allocations: 0 / 398.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of Templates: time 0.003066/0.1469, allocations: 0.5484 MB / 399.1 MB, free: 12.36 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches