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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007998/0.007998, allocations: 91.69 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.001663/0.001663, allocations: 197.9 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.634/1.634, allocations: 205.1 MB / 222.7 MB, free: 4.996 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.08495/0.08495, allocations: 12.58 MB / 282.6 MB, free: 9.148 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.001666/0.001666, allocations: 75.89 kB / 342.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1192, allocations: 49.42 MB / 392.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003043/0.1223, allocations: 1.652 MB / 393.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009741/0.1233, allocations: 0.5191 MB / 394.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1234, allocations: 3.938 kB / 394.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.1236, allocations: 11.92 kB / 394.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.1237, allocations: 3.938 kB / 394.4 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.1239, allocations: 43.89 kB / 394.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.1241, allocations: 59.73 kB / 394.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.1242, allocations: 23.95 kB / 394.5 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.1243, allocations: 23.92 kB / 394.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.1244, allocations: 27.86 kB / 394.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.1244, allocations: 7.938 kB / 394.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.1245, allocations: 4 kB / 394.6 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.194e-05/0.1245, allocations: 19.97 kB / 394.6 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.1246, allocations: 35.67 kB / 394.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1247, allocations: 64.02 kB / 394.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1248, allocations: 0 / 394.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1248, allocations: 0 / 394.7 MB, free: 8.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1248, allocations: 0 / 394.7 MB, free: 8.582 MB / 334.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.0005961/0.1254, allocations: 387.1 kB / 395.1 MB, free: 8.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1254, allocations: 8.031 kB / 395.1 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.1255, allocations: 16.75 kB / 395.1 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1257, allocations: 204 kB / 395.3 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1257, allocations: 4.375 kB / 395.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.1257, allocations: 8.359 kB / 395.3 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.1261, allocations: 130.2 kB / 395.4 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1262, allocations: 0 / 395.4 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1262, allocations: 4 kB / 395.4 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.1262, allocations: 4 kB / 395.4 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1263, allocations: 43.91 kB / 395.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.1269, allocations: 373.8 kB / 395.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.1271, allocations: 87.77 kB / 395.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.1271, allocations: 34.62 kB / 396 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1272, allocations: 8 kB / 396 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.1272, allocations: 34.5 kB / 396 MB, free: 7.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1272, allocations: 0 / 396 MB, free: 7.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003857/0.1276, allocations: 113.5 kB / 396.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.1277, allocations: 111.2 kB / 396.2 MB, free: 6.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1278, allocations: 150.2 kB / 396.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1279, allocations: 25.7 kB / 396.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.1279, allocations: 92.14 kB / 396.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.128, allocations: 3.906 kB / 396.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.128, allocations: 25.61 kB / 396.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1282, allocations: 322.8 kB / 396.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.1283, allocations: 19.98 kB / 396.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.983e-05/0.1283, allocations: 47.34 kB / 396.9 MB, free: 6.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1285, allocations: 67.34 kB / 397 MB, free: 6.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1285, allocations: 4 kB / 397 MB, free: 6.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001763/0.1287, allocations: 81.59 kB / 397.1 MB, free: 5.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1287, allocations: 4 kB / 397.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1287, allocations: 0 / 397.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1288, allocations: 4 kB / 397.1 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1289, allocations: 15.92 kB / 397.1 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1289, allocations: 4.125 kB / 397.1 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/0.129, allocations: 11.84 kB / 397.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.129, allocations: 4 kB / 397.1 MB, free: 5.875 MB / 334.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: 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 8.497e-05/0.1291, allocations: 125.7 kB / 397.2 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.1292, allocations: 53.59 kB / 397.3 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.1292, allocations: 7.875 kB / 397.3 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.1292, allocations: 8 kB / 397.3 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1292, allocations: 4 kB / 397.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.1292, allocations: 12.02 kB / 397.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1295, allocations: 177.6 kB / 397.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1295, allocations: 0 / 397.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.1295, allocations: 11.98 kB / 397.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1295, allocations: 0 / 397.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1296, allocations: 0 / 397.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1296, allocations: 4 kB / 397.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1296, allocations: 0 / 397.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1298, allocations: 279.4 kB / 397.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.1299, allocations: 96.94 kB / 397.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1299, allocations: 0 / 397.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1301, allocations: 7.984 kB / 397.9 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.1301, allocations: 4.141 kB / 397.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1301, allocations: 3.984 kB / 397.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.043e-05/0.1302, allocations: 123.9 kB / 398 MB, free: 4.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1302, allocations: 0 / 398 MB, free: 4.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1305, allocations: 8 kB / 398 MB, free: 4.863 MB / 334.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: 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 8.576e-05/0.1305, allocations: 95.25 kB / 398.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1307, allocations: 55.83 kB / 398.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1308, allocations: 256 / 398.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.701e-05/0.1308, allocations: 27.92 kB / 398.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.1313, allocations: 20.02 kB / 398.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.1318, allocations: 231.2 kB / 398.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.1323, allocations: 0.6965 MB / 399.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.674e-05/0.1323, allocations: 4 kB / 399.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.1324, allocations: 19.36 kB / 399.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1324, allocations: 0 / 399.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of Templates: time 0.003073/0.1354, allocations: 0.6253 MB / 399.8 MB, free: 3.031 MB / 334.1 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/jenkins/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