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.001577/0.001577, allocations: 99 kB / 16.02 MB, free: 5.836 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.001768/0.001768, allocations: 190.9 kB / 16.95 MB, free: 5.688 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.651/1.651, allocations: 205.1 MB / 222.8 MB, free: 4.672 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.07824/0.07824, allocations: 12.59 MB / 282.7 MB, free: 8.805 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.001906/0.001906, allocations: 83.83 kB / 343 MB, free: 21.09 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1185, allocations: 49.4 MB / 392.4 MB, free: 3.598 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003822/0.1224, allocations: 1.66 MB / 394 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1235, allocations: 0.5074 MB / 394.6 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1237, allocations: 4 kB / 394.6 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.1238, allocations: 11.88 kB / 394.6 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.124, allocations: 19.84 kB / 394.6 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.1243, allocations: 43.91 kB / 394.6 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1245, allocations: 51.84 kB / 394.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1246, allocations: 12 kB / 394.7 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1247, allocations: 35.8 kB / 394.7 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.867e-05/0.1248, allocations: 31.83 kB / 394.8 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.1249, allocations: 4 kB / 394.8 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.544e-05/0.1249, allocations: 8 kB / 394.8 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.125, allocations: 15.92 kB / 394.8 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.125, allocations: 31.81 kB / 394.8 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1252, allocations: 64.02 kB / 394.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1252, allocations: 0 / 394.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1252, allocations: 0 / 394.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1252, allocations: 0 / 394.9 MB, free: 1.074 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.0005983/0.1258, allocations: 406.9 kB / 395.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1258, allocations: 8.031 kB / 395.3 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.1259, allocations: 12.84 kB / 395.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.1261, allocations: 196.1 kB / 395.5 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1261, allocations: 8.312 kB / 395.5 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.1262, allocations: 384 / 395.5 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.1265, allocations: 138.1 kB / 395.6 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1265, allocations: 4 kB / 395.6 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1265, allocations: 0 / 395.6 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.1266, allocations: 7.984 kB / 395.6 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1267, allocations: 35.97 kB / 395.7 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.1272, allocations: 381.8 kB / 396.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1274, allocations: 83.78 kB / 396.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.1274, allocations: 38.61 kB / 396.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.1275, allocations: 4 kB / 396.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.1275, allocations: 34.56 kB / 396.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.1275, allocations: 0 / 396.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.00035/0.1279, allocations: 117.8 kB / 396.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.1279, allocations: 110.8 kB / 396.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1281, allocations: 158.1 kB / 396.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1281, allocations: 25.7 kB / 396.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.1282, allocations: 100 kB / 396.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.1282, allocations: 3.906 kB / 396.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.1282, allocations: 17.72 kB / 396.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1283, allocations: 322.8 kB / 397 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.1284, allocations: 19.98 kB / 397.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.517e-05/0.1285, allocations: 43.36 kB / 397.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.1286, allocations: 67.34 kB / 397.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1286, allocations: 0 / 397.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001718/0.1288, allocations: 93.44 kB / 397.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1288, allocations: 4 kB / 397.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1288, allocations: 0 / 397.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1289, allocations: 4 kB / 397.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.129, allocations: 16.11 kB / 397.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.129, allocations: 0 / 397.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.129, allocations: 7.984 kB / 397.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1291, allocations: 8 kB / 397.3 MB, free: 14.34 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: 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.402e-05/0.1291, allocations: 117.8 kB / 397.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.1292, allocations: 53.53 kB / 397.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.1293, allocations: 15.86 kB / 397.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.1293, allocations: 4 kB / 397.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1293, allocations: 4.031 kB / 397.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1293, allocations: 0 / 397.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.1295, allocations: 189.6 kB / 397.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1296, allocations: 3.938 kB / 397.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.1296, allocations: 11.98 kB / 397.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1296, allocations: 0 / 397.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1296, allocations: 0 / 397.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1297, allocations: 0 / 397.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1297, allocations: 4 kB / 397.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.1299, allocations: 271.4 kB / 398 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.13, allocations: 100.9 kB / 398.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.13, allocations: 3.984 kB / 398.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1301, allocations: 4 kB / 398.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.1302, allocations: 0 / 398.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1302, allocations: 8 kB / 398.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.558e-05/0.1303, allocations: 115.1 kB / 398.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1303, allocations: 0 / 398.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00026/0.1305, allocations: 15.91 kB / 398.2 MB, free: 13.34 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: 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 9.401e-05/0.1306, allocations: 95.23 kB / 398.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.1308, allocations: 55.84 kB / 398.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1308, allocations: 4.25 kB / 398.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.239e-05/0.1309, allocations: 23.86 kB / 398.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.1314, allocations: 25.58 kB / 398.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.1319, allocations: 229.6 kB / 398.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.1321, allocations: 0.7 MB / 399.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.033e-05/0.1322, allocations: 7.984 kB / 399.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.1322, allocations: 11.44 kB / 399.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1322, allocations: 0 / 399.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of Templates: time 0.002571/0.1348, allocations: 0.6487 MB / 400 MB, free: 11.48 MB / 302.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