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.0008552/0.0008552, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 177.5 kB / 16.63 MB, free: 6.891 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.632/1.632, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.09415/0.09415, allocations: 12.6 MB / 283.7 MB, free: 8.695 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.0007368/0.0007369, allocations: 24 kB / 344.5 MB, free: 21.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1214, allocations: 50.37 MB / 394.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample): time 0.002141/0.1236, allocations: 1.243 MB / 396.2 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009679/0.1246, allocations: 496 kB / 396.6 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.271e-05/0.1247, allocations: 4 kB / 396.6 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.164e-05/0.1248, allocations: 7.922 kB / 396.7 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.125, allocations: 11.92 kB / 396.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.1253, allocations: 43.89 kB / 396.7 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1254, allocations: 39.86 kB / 396.7 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1256, allocations: 8 kB / 396.8 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.103e-05/0.1257, allocations: 15.92 kB / 396.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.988e-05/0.1257, allocations: 27.84 kB / 396.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1258, allocations: 0 / 396.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.1258, allocations: 4 kB / 396.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.1258, allocations: 8 kB / 396.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.1259, allocations: 41.62 kB / 396.9 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.792e-05/0.126, allocations: 27.95 kB / 396.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.126, allocations: 0 / 396.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.126, allocations: 0 / 396.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.126, allocations: 0 / 396.9 MB, free: 0.8008 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.0005172/0.1265, allocations: 375.2 kB / 397.2 MB, free: 396 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1266, allocations: 8.031 kB / 397.3 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.1266, allocations: 7.906 kB / 397.3 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1268, allocations: 206.7 kB / 397.5 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1269, allocations: 0 / 397.5 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1269, allocations: 4 kB / 397.5 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.1272, allocations: 109 kB / 397.6 MB, free: 0 / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.1272, allocations: 0 / 397.6 MB, free: 0 / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.1273, allocations: 4.047 kB / 397.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1273, allocations: 0 / 397.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.909e-05/0.1274, allocations: 15.94 kB / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.1277, allocations: 269.7 kB / 397.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.443e-05/0.1278, allocations: 41.22 kB / 397.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.1278, allocations: 21.77 kB / 397.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1279, allocations: 7.938 kB / 397.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.1279, allocations: 38.56 kB / 398 MB, free: 15.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1279, allocations: 0 / 398 MB, free: 15.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000245/0.1282, allocations: 77.45 kB / 398 MB, free: 15.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.1282, allocations: 77.36 kB / 398.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1284, allocations: 142.1 kB / 398.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1284, allocations: 29.7 kB / 398.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.1285, allocations: 92.12 kB / 398.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.1285, allocations: 3.906 kB / 398.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.1285, allocations: 0 / 398.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1286, allocations: 314.8 kB / 398.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.1287, allocations: 11.98 kB / 398.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.285e-05/0.1287, allocations: 21.72 kB / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.1288, allocations: 15.98 kB / 398.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1288, allocations: 0 / 398.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001245/0.1289, allocations: 61.72 kB / 398.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.129, allocations: 9.188 kB / 398.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.129, allocations: 4 kB / 398.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.129, allocations: 0 / 398.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.414e-05/0.1291, allocations: 11.98 kB / 398.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1291, allocations: 3.953 kB / 398.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.1291, allocations: 4 kB / 398.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1291, allocations: 0 / 398.8 MB, free: 14.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.1293, allocations: 129.6 kB / 399 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.1293, allocations: 37.61 kB / 399 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.1294, allocations: 11.88 kB / 399 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1294, allocations: 0 / 399 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1294, allocations: 3.984 kB / 399 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1294, allocations: 7.953 kB / 399 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.1296, allocations: 161.7 kB / 399.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1296, allocations: 0 / 399.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.1297, allocations: 7.984 kB / 399.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.1297, allocations: 4 kB / 399.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1297, allocations: 8.031 kB / 399.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1297, allocations: 0 / 399.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1297, allocations: 0 / 399.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.1299, allocations: 168.2 kB / 399.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.13, allocations: 93 kB / 399.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.13, allocations: 4.031 kB / 399.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.1301, allocations: 4 kB / 399.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.1301, allocations: 0 / 399.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1301, allocations: 4 kB / 399.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.066e-05/0.1302, allocations: 111.2 kB / 399.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1302, allocations: 0 / 399.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.1304, allocations: 4 kB / 399.6 MB, free: 13.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001051/0.1305, allocations: 99.19 kB / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1307, allocations: 27.92 kB / 399.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1307, allocations: 0 / 399.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.1308, allocations: 11.98 kB / 399.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.1312, allocations: 23.95 kB / 399.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.1316, allocations: 181.9 kB / 399.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1319, allocations: 0.6926 MB / 400.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.11e-05/0.1319, allocations: 0 / 400.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.1319, allocations: 15.44 kB / 400.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.132, allocations: 0 / 400.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Templates: time 0.002976/0.1349, allocations: 476.3 kB / 401.1 MB, free: 12.18 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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