Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009773/0.0009773, allocations: 100.4 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009054/0.0009054, allocations: 199.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002856, allocations: 4 kB / 306.6 MB, free: 1.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1264, allocations: 51.5 MB / 358.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.001918/0.1284, allocations: 1.258 MB / 359.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009136/0.1293, allocations: 487.2 kB / 359.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1295, allocations: 7.938 kB / 359.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.1295, allocations: 0 / 359.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.1296, allocations: 7.938 kB / 359.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.1299, allocations: 43.88 kB / 359.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9e-05/0.13, allocations: 31.91 kB / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.1302, allocations: 15.98 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1303, allocations: 23.91 kB / 359.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/0.1303, allocations: 11.92 kB / 359.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1304, allocations: 4 kB / 359.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.264e-05/0.1304, allocations: 7.938 kB / 359.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.1304, allocations: 8 kB / 360 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.1305, allocations: 33.64 kB / 360 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.582e-05/0.1306, allocations: 47.86 kB / 360 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1306, allocations: 0 / 360 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1306, allocations: 3.938 kB / 360 MB, free: 11.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1306, allocations: 0 / 360 MB, free: 11.97 MB / 302.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.0004614/0.1311, allocations: 371.3 kB / 360.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1311, allocations: 12.03 kB / 360.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.1313, allocations: 15.91 kB / 360.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.1315, allocations: 194.9 kB / 360.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1316, allocations: 11.95 kB / 360.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1316, allocations: 0 / 360.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.1318, allocations: 109 kB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1319, allocations: 0 / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1319, allocations: 4 kB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1319, allocations: 0 / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.132, allocations: 15.98 kB / 360.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.1323, allocations: 265.7 kB / 361 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.357e-05/0.1324, allocations: 49.22 kB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1324, allocations: 3.984 kB / 361.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.1325, allocations: 34.5 kB / 361.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 2.344e-06/0.1325, allocations: 7.922 kB / 361.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002286/0.1327, allocations: 73.75 kB / 361.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.1328, allocations: 85.03 kB / 361.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1329, allocations: 134.2 kB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.1329, allocations: 29.7 kB / 361.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.133, allocations: 88.08 kB / 361.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.133, allocations: 3.984 kB / 361.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-06/0.133, allocations: 4.156 kB / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1331, allocations: 322.8 kB / 361.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.1332, allocations: 4 kB / 361.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.407e-05/0.1332, allocations: 25.7 kB / 361.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.832e-05/0.1333, allocations: 16.05 kB / 361.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1333, allocations: 0 / 361.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001309/0.1334, allocations: 61.53 kB / 361.9 MB, free: 9.812 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1335, allocations: 8 kB / 361.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1335, allocations: 0 / 361.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1335, allocations: 0 / 361.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.1336, allocations: 4 kB / 362 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1336, allocations: 8.047 kB / 362 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.1336, allocations: 4 kB / 362 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1336, allocations: 4 kB / 362 MB, free: 9.785 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 7.929e-05/0.1337, allocations: 117.8 kB / 362.1 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.1338, allocations: 45.53 kB / 362.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.1338, allocations: 11.83 kB / 362.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1338, allocations: 0 / 362.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1339, allocations: 7.938 kB / 362.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1339, allocations: 32 / 362.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.134, allocations: 173.6 kB / 362.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.134, allocations: 0 / 362.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.1341, allocations: 11.98 kB / 362.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1341, allocations: 0 / 362.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.1341, allocations: 0 / 362.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1341, allocations: 0 / 362.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1341, allocations: 4 kB / 362.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.1343, allocations: 177.9 kB / 362.5 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-05/0.1344, allocations: 92.94 kB / 362.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1344, allocations: 11.98 kB / 362.6 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.1345, allocations: 4 kB / 362.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.1345, allocations: 4 kB / 362.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.1345, allocations: 4.031 kB / 362.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.192e-05/0.1346, allocations: 109.8 kB / 362.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1346, allocations: 0 / 362.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000214/0.1348, allocations: 4 kB / 362.7 MB, free: 8.91 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 9.438e-05/0.1349, allocations: 99.2 kB / 362.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.135, allocations: 23.98 kB / 362.9 MB, free: 8.781 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.135, allocations: 4.125 kB / 362.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.1351, allocations: 15.92 kB / 362.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.1353, allocations: 12.03 kB / 362.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.1356, allocations: 181.6 kB / 363.1 MB, free: 8.539 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1359, allocations: 0.6926 MB / 363.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.169e-05/0.136, allocations: 4 kB / 363.8 MB, free: 7.816 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.136, allocations: 7.438 kB / 363.8 MB, free: 7.809 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.136, allocations: 0 / 363.8 MB, free: 7.809 MB / 302.1 MB Notification: Performance of Templates: time 0.002623/0.1386, allocations: 472 kB / 364.2 MB, free: 7.355 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches