Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009756/0.000976, allocations: 84.7 kB / 16.31 MB, free: 6.453 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.001247/0.001247, allocations: 175.6 kB / 17.2 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 241.2 MB, free: 312 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002656, allocations: 4 kB / 300.8 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 50.41 MB / 351.2 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002335/0.1338, allocations: 1.253 MB / 352.5 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008563/0.1347, allocations: 475.2 kB / 353 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.1348, allocations: 3.938 kB / 353 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.1348, allocations: 0 / 353 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.1349, allocations: 15.91 kB / 353 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1353, allocations: 35.91 kB / 353 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1354, allocations: 51.78 kB / 353.1 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1355, allocations: 15.98 kB / 353.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.55e-05/0.1356, allocations: 19.91 kB / 353.1 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.1357, allocations: 19.86 kB / 353.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.1357, allocations: 0 / 353.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.1358, allocations: 4 kB / 353.1 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.1358, allocations: 7.938 kB / 353.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.1359, allocations: 37.64 kB / 353.2 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.7e-05/0.136, allocations: 39.92 kB / 353.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.136, allocations: 0 / 353.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.136, allocations: 0 / 353.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.136, allocations: 0 / 353.2 MB, free: 2.031 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.0005119/0.1365, allocations: 363.3 kB / 353.6 MB, free: 1.629 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1366, allocations: 12.03 kB / 353.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.1366, allocations: 11.86 kB / 353.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.1369, allocations: 189.6 kB / 353.8 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1369, allocations: 4 kB / 353.8 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.1369, allocations: 11.94 kB / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.1373, allocations: 109 kB / 353.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1373, allocations: 0 / 353.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.1374, allocations: 3.953 kB / 353.9 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1374, allocations: 3.938 kB / 353.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.1375, allocations: 23.98 kB / 353.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.1379, allocations: 253.8 kB / 354.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.138, allocations: 53.22 kB / 354.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.406e-05/0.1381, allocations: 21.7 kB / 354.2 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1382, allocations: 7.953 kB / 354.2 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.1382, allocations: 34.5 kB / 354.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.1382, allocations: 0 / 354.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003495/0.1386, allocations: 73.58 kB / 354.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1386, allocations: 81.05 kB / 354.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1388, allocations: 142.1 kB / 354.6 MB, free: 444 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1388, allocations: 25.7 kB / 354.6 MB, free: 412 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/0.1388, allocations: 92.38 kB / 354.7 MB, free: 316 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.1389, allocations: 7.938 kB / 354.7 MB, free: 308 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.1389, allocations: 0 / 354.7 MB, free: 308 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.139, allocations: 326.8 kB / 355 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.1391, allocations: 4 kB / 355 MB, free: 15.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.665e-05/0.1392, allocations: 21.7 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.804e-05/0.1392, allocations: 16.06 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1393, allocations: 0 / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001808/0.1395, allocations: 65.48 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1395, allocations: 8 kB / 355.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1395, allocations: 3.984 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1395, allocations: 0 / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.1396, allocations: 8.062 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1396, allocations: 0 / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.1397, allocations: 4 kB / 355.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1397, allocations: 4 kB / 355.1 MB, free: 15.83 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.0001009/0.1398, allocations: 117.8 kB / 355.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/0.1399, allocations: 41.5 kB / 355.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.14, allocations: 15.86 kB / 355.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.14, allocations: 0 / 355.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.14, allocations: 8.031 kB / 355.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.14, allocations: 0 / 355.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.1403, allocations: 165.7 kB / 355.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1403, allocations: 0 / 355.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.1404, allocations: 11.94 kB / 355.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1404, allocations: 3.953 kB / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1404, allocations: 0 / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1404, allocations: 3.984 kB / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1404, allocations: 0 / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.1406, allocations: 168.2 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.1407, allocations: 93 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1408, allocations: 3.953 kB / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1409, allocations: 8 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.1409, allocations: 3.984 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.141, allocations: 8.031 kB / 355.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.986e-05/0.1411, allocations: 105.8 kB / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1411, allocations: 0 / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.1415, allocations: 4 kB / 355.9 MB, free: 14.98 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.0001192/0.1416, allocations: 106.6 kB / 356 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.1418, allocations: 28.03 kB / 356 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1418, allocations: 0 / 356 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.1418, allocations: 15.94 kB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.1423, allocations: 19.95 kB / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.1428, allocations: 177.9 kB / 356.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.1431, allocations: 0.6887 MB / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.1432, allocations: 0 / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.1432, allocations: 11.44 kB / 356.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1432, allocations: 0 / 356.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of Templates: time 0.002823/0.1461, allocations: 464.5 kB / 357.4 MB, free: 13.43 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches