Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00144/0.00144, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001772/0.001772, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 59.66 kB / 306.9 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1206, allocations: 50.54 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002984/0.1236, allocations: 1.555 MB / 359 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1247, allocations: 0.5649 MB / 359.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.468e-05/0.1248, allocations: 0 / 359.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.75e-05/0.1249, allocations: 7.875 kB / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.125, allocations: 15.91 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.1254, allocations: 67.75 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1255, allocations: 47.8 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1256, allocations: 16.17 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1258, allocations: 27.91 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.1258, allocations: 19.86 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1259, allocations: 4 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.631e-05/0.1259, allocations: 4 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.126, allocations: 15.92 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.126, allocations: 27.81 kB / 359.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1262, allocations: 67.73 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1262, allocations: 0 / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1262, allocations: 0 / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1262, allocations: 0 / 359.9 MB, free: 11.66 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.0004678/0.1267, allocations: 387.3 kB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1267, allocations: 8.031 kB / 360.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.1269, allocations: 16.83 kB / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.1271, allocations: 192.2 kB / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1271, allocations: 8.375 kB / 360.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.1271, allocations: 384 / 360.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.1274, allocations: 109.2 kB / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1274, allocations: 3.984 kB / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1274, allocations: 4 kB / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1274, allocations: 3.938 kB / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.177e-05/0.1275, allocations: 19.92 kB / 360.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.1278, allocations: 261.8 kB / 360.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.506e-05/0.1279, allocations: 53.14 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.128, allocations: 17.78 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.128, allocations: 8 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1281, allocations: 34.5 kB / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1281, allocations: 0 / 361 MB, free: 10.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002481/0.1283, allocations: 69.52 kB / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1284, allocations: 81.36 kB / 361.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1285, allocations: 144.2 kB / 361.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1285, allocations: 29.7 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.1286, allocations: 88.08 kB / 361.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.1286, allocations: 0 / 361.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.1286, allocations: 25.61 kB / 361.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.1287, allocations: 318.8 kB / 361.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/0.1288, allocations: 8 kB / 361.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.2e-05/0.1288, allocations: 25.64 kB / 361.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.644e-05/0.1289, allocations: 29.7 kB / 361.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1289, allocations: 0 / 361.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001177/0.129, allocations: 57.72 kB / 361.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1291, allocations: 10.81 kB / 361.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1291, allocations: 0 / 361.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1291, allocations: 3.984 kB / 361.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.1292, allocations: 4 kB / 361.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1292, allocations: 0 / 361.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.565e-05/0.1292, allocations: 4 kB / 361.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1292, allocations: 0 / 361.9 MB, free: 9.41 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 7.802e-05/0.1293, allocations: 125.7 kB / 362 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.1294, allocations: 41.64 kB / 362 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.1294, allocations: 23.75 kB / 362.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1294, allocations: 0 / 362.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1294, allocations: 4 kB / 362.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1295, allocations: 0 / 362.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1296, allocations: 173.6 kB / 362.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1296, allocations: 0 / 362.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.1297, allocations: 4 kB / 362.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1297, allocations: 0 / 362.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1297, allocations: 0 / 362.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1297, allocations: 8.031 kB / 362.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1297, allocations: 0 / 362.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.1299, allocations: 160.2 kB / 362.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.1299, allocations: 100.9 kB / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.13, allocations: 0 / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-05/0.13, allocations: 0 / 362.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1301, allocations: 15.95 kB / 362.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1301, allocations: 0 / 362.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.299e-05/0.1301, allocations: 105.8 kB / 362.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1302, allocations: 4 kB / 362.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.1304, allocations: 4 kB / 362.6 MB, free: 8.551 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.161e-05/0.1305, allocations: 99.23 kB / 362.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.1306, allocations: 24.05 kB / 362.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1306, allocations: 0 / 362.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.1307, allocations: 11.94 kB / 362.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.131, allocations: 19.95 kB / 362.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.1314, allocations: 163.7 kB / 363 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1316, allocations: 0.6923 MB / 363.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.109e-05/0.1317, allocations: 0 / 363.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.1317, allocations: 11.44 kB / 363.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1317, allocations: 0 / 363.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of Templates: time 0.002736/0.1344, allocations: 0.526 MB / 364.2 MB, free: 6.953 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches