Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009384/0.009384, allocations: 92.17 kB / 15.91 MB, free: 6.281 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.001761/0.001761, allocations: 202.4 kB / 16.84 MB, free: 6.195 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.678/1.678, allocations: 205.1 MB / 222.7 MB, free: 4.75 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.07977/0.07977, allocations: 12.59 MB / 282.6 MB, free: 8.895 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.002662/0.002662, allocations: 79.88 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1204, allocations: 49.39 MB / 392.2 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample): time 0.00345/0.1239, allocations: 1.605 MB / 393.8 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1252, allocations: 0.4996 MB / 394.3 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.1254, allocations: 4 kB / 394.3 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.525e-05/0.1255, allocations: 11.86 kB / 394.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1257, allocations: 3.938 kB / 394.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.1261, allocations: 43.89 kB / 394.4 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.1262, allocations: 35.92 kB / 394.4 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.1264, allocations: 12 kB / 394.4 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1265, allocations: 31.84 kB / 394.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.777e-05/0.1266, allocations: 19.86 kB / 394.4 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.1266, allocations: 4 kB / 394.5 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.1266, allocations: 0 / 394.5 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.1267, allocations: 15.92 kB / 394.5 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.041e-05/0.1268, allocations: 23.81 kB / 394.5 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.1269, allocations: 47.81 kB / 394.5 MB, free: 1.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1269, allocations: 0 / 394.5 MB, free: 1.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1269, allocations: 0 / 394.5 MB, free: 1.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1269, allocations: 4 kB / 394.5 MB, free: 1.336 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006159/0.1276, allocations: 387.3 kB / 394.9 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.1276, allocations: 8.031 kB / 394.9 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.1277, allocations: 12.84 kB / 394.9 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1279, allocations: 196.1 kB / 395.1 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.128, allocations: 4.375 kB / 395.1 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.128, allocations: 4.375 kB / 395.1 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.1283, allocations: 113.2 kB / 395.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1284, allocations: 0 / 395.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1284, allocations: 0 / 395.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1284, allocations: 0 / 395.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.1285, allocations: 19.98 kB / 395.3 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.1289, allocations: 269.7 kB / 395.5 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.172e-05/0.129, allocations: 45.2 kB / 395.6 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.129, allocations: 13.78 kB / 395.6 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.1291, allocations: 3.938 kB / 395.6 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.1291, allocations: 42.5 kB / 395.6 MB, free: 52 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1291, allocations: 0 / 395.6 MB, free: 52 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003024/0.1294, allocations: 69.52 kB / 395.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.1295, allocations: 81.11 kB / 395.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1296, allocations: 138.1 kB / 395.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1297, allocations: 25.95 kB / 395.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.1297, allocations: 88.14 kB / 396 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1298, allocations: 8 kB / 396 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.1298, allocations: 17.7 kB / 396.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1299, allocations: 314.8 kB / 396.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.206e-05/0.13, allocations: 4 kB / 396.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.13, allocations: 25.64 kB / 396.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.137e-05/0.1301, allocations: 37.64 kB / 396.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1301, allocations: 0 / 396.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001331/0.1303, allocations: 57.59 kB / 396.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.1303, allocations: 4 kB / 396.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1303, allocations: 0 / 396.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1303, allocations: 0 / 396.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.507e-05/0.1304, allocations: 12.05 kB / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1305, allocations: 3.938 kB / 396.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.766e-05/0.1305, allocations: 4 kB / 396.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1305, allocations: 0 / 396.5 MB, free: 15.1 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001027/0.1306, allocations: 121.8 kB / 396.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.1307, allocations: 37.61 kB / 396.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.1308, allocations: 11.88 kB / 396.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1308, allocations: 0 / 396.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1308, allocations: 3.984 kB / 396.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1308, allocations: 8.031 kB / 396.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.131, allocations: 169.6 kB / 396.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1311, allocations: 0 / 396.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.1311, allocations: 4 kB / 396.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1311, allocations: 4 kB / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1311, allocations: 7.984 kB / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1311, allocations: 0 / 396.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1312, allocations: 3.938 kB / 396.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1314, allocations: 168.2 kB / 397 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.1314, allocations: 89 kB / 397.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1315, allocations: 0 / 397.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.1315, allocations: 4 kB / 397.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.1316, allocations: 0 / 397.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1316, allocations: 7.984 kB / 397.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.877e-05/0.1317, allocations: 107.2 kB / 397.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1317, allocations: 4.031 kB / 397.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.1319, allocations: 8 kB / 397.3 MB, free: 14.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 9.204e-05/0.132, allocations: 91.25 kB / 397.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.1322, allocations: 23.92 kB / 397.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1322, allocations: 0 / 397.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.1322, allocations: 11.92 kB / 397.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.1326, allocations: 36.17 kB / 397.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.133, allocations: 177.1 kB / 397.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1333, allocations: 0.6809 MB / 398.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.639e-05/0.1334, allocations: 11.98 kB / 398.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.1334, allocations: 7.438 kB / 398.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1334, allocations: 0 / 398.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of Templates: time 0.002901/0.1363, allocations: 485.2 kB / 398.8 MB, free: 12.69 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches