Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001496/0.001496, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001743/0.001743, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 60.34 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1227, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003163/0.126, allocations: 1.587 MB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1271, allocations: 0.5609 MB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.1272, allocations: 0 / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.734e-05/0.1273, allocations: 7.922 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.1274, allocations: 23.86 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.1278, allocations: 63.12 kB / 361.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.1279, allocations: 51.84 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.128, allocations: 20.16 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1281, allocations: 27.86 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.1282, allocations: 19.86 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1282, allocations: 4 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.743e-05/0.1283, allocations: 8 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.1284, allocations: 19.91 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.1284, allocations: 27.81 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.1286, allocations: 67.67 kB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1286, allocations: 0 / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1286, allocations: 0 / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1286, allocations: 0 / 361.4 MB, free: 10.81 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.0005087/0.1291, allocations: 387 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1292, allocations: 8.031 kB / 361.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.1293, allocations: 20.84 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.1296, allocations: 200.3 kB / 362 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1296, allocations: 8.375 kB / 362 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1297, allocations: 3.938 kB / 362 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.1299, allocations: 125.9 kB / 362.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.13, allocations: 0 / 362.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.13, allocations: 0 / 362.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.13, allocations: 3.984 kB / 362.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.232e-05/0.1301, allocations: 27.92 kB / 362.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.1304, allocations: 278.5 kB / 362.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.1305, allocations: 75.73 kB / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.1306, allocations: 30.62 kB / 362.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1307, allocations: 11.94 kB / 362.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1307, allocations: 30.56 kB / 362.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1307, allocations: 0 / 362.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002747/0.131, allocations: 85.5 kB / 362.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.1311, allocations: 115.1 kB / 362.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1312, allocations: 145.7 kB / 362.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1312, allocations: 25.7 kB / 362.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.1313, allocations: 100 kB / 363 MB, free: 8.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.1313, allocations: 0 / 363 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.1313, allocations: 17.72 kB / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1315, allocations: 318.8 kB / 363.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.1315, allocations: 12 kB / 363.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.1316, allocations: 35.42 kB / 363.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.777e-05/0.1317, allocations: 47.36 kB / 363.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1317, allocations: 4 kB / 363.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001254/0.1318, allocations: 69.52 kB / 363.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1318, allocations: 4 kB / 363.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1318, allocations: 0 / 363.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1319, allocations: 4 kB / 363.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.1319, allocations: 7.984 kB / 363.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1319, allocations: 7.938 kB / 363.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.132, allocations: 12.06 kB / 363.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.132, allocations: 4 kB / 363.6 MB, free: 8.332 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.176e-05/0.1321, allocations: 117.8 kB / 363.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-05/0.1322, allocations: 61.47 kB / 363.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.1322, allocations: 11.88 kB / 363.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1322, allocations: 0 / 363.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1322, allocations: 3.984 kB / 363.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1323, allocations: 3.938 kB / 363.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1324, allocations: 169.7 kB / 363.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1324, allocations: 4 kB / 363.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.1325, allocations: 11.98 kB / 363.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1325, allocations: 4 kB / 363.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1325, allocations: 0 / 363.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.1325, allocations: 7.938 kB / 364 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1325, allocations: 0 / 364 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.1327, allocations: 189 kB / 364.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.1328, allocations: 89 kB / 364.2 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1328, allocations: 0 / 364.2 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.1329, allocations: 4 kB / 364.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.1329, allocations: 11.92 kB / 364.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.133, allocations: 4 kB / 364.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.603e-05/0.133, allocations: 106.3 kB / 364.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.133, allocations: 0 / 364.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1333, allocations: 12 kB / 364.4 MB, free: 7.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 0.000113/0.1334, allocations: 99.23 kB / 364.5 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.1336, allocations: 35.92 kB / 364.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1336, allocations: 0 / 364.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.1336, allocations: 7.984 kB / 364.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.134, allocations: 24.47 kB / 364.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.1344, allocations: 192.1 kB / 364.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1346, allocations: 0.6908 MB / 365.4 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.797e-05/0.1347, allocations: 8.125 kB / 365.4 MB, free: 6.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.1347, allocations: 7.438 kB / 365.4 MB, free: 6.309 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1347, allocations: 8 kB / 365.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of Templates: time 0.003067/0.1378, allocations: 0.5928 MB / 366 MB, free: 5.715 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches