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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001608/0.001608, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002076/0.002076, allocations: 160.5 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] 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=5021,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=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 62.11 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1293, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003392/0.1327, allocations: 1.608 MB / 380.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1339, allocations: 0.5259 MB / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.134, allocations: 4 kB / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.493e-05/0.1341, allocations: 11.86 kB / 381.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.1343, allocations: 11.92 kB / 381.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.1347, allocations: 63.75 kB / 381.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1349, allocations: 55.78 kB / 381.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.135, allocations: 12.17 kB / 381.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.1352, allocations: 23.92 kB / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.1352, allocations: 19.86 kB / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1353, allocations: 4 kB / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.334e-05/0.1353, allocations: 7.984 kB / 381.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.1354, allocations: 19.92 kB / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.1354, allocations: 19.81 kB / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.1356, allocations: 63.61 kB / 381.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.1356, allocations: 4 kB / 381.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1356, allocations: 8 kB / 381.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1356, allocations: 0 / 381.4 MB, free: 13.02 MB / 350.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.0005912/0.1362, allocations: 298 kB / 381.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.1363, allocations: 11.98 kB / 381.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.1365, allocations: 16.88 kB / 381.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.1368, allocations: 150.8 kB / 381.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1368, allocations: 384 / 381.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.1368, allocations: 7.938 kB / 381.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.1372, allocations: 121.8 kB / 382 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1372, allocations: 3.984 kB / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1372, allocations: 0 / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1372, allocations: 4 kB / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.359e-05/0.1373, allocations: 19.98 kB / 382 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.1376, allocations: 222.2 kB / 382.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1378, allocations: 79.72 kB / 382.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.475e-05/0.1379, allocations: 34.62 kB / 382.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1379, allocations: 0 / 382.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.138, allocations: 38.56 kB / 382.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.138, allocations: 0 / 382.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000285/0.1382, allocations: 81.5 kB / 382.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/0.1383, allocations: 111.2 kB / 382.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.1385, allocations: 148.6 kB / 382.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1385, allocations: 25.7 kB / 382.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.1386, allocations: 92.12 kB / 382.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.1386, allocations: 7.938 kB / 382.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.1387, allocations: 17.67 kB / 382.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002822/0.1389, allocations: 326.8 kB / 383.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.139, allocations: 4 kB / 383.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.139, allocations: 35.42 kB / 383.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1392, allocations: 51.36 kB / 383.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1392, allocations: 4 kB / 383.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001564/0.1393, allocations: 73.55 kB / 383.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1393, allocations: 6.5 kB / 383.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1393, allocations: 4 kB / 383.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1394, allocations: 128 / 383.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.1394, allocations: 12 kB / 383.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1394, allocations: 3.984 kB / 383.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.1395, allocations: 4 kB / 383.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1395, allocations: 3.938 kB / 383.3 MB, free: 10.79 MB / 350.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 0.0001111/0.1396, allocations: 121.8 kB / 383.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.243e-05/0.1397, allocations: 57.53 kB / 383.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.1397, allocations: 11.97 kB / 383.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1397, allocations: 0 / 383.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1397, allocations: 4 kB / 383.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1397, allocations: 8.047 kB / 383.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.1399, allocations: 121.2 kB / 383.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1399, allocations: 0 / 383.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.14, allocations: 11.98 kB / 383.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.14, allocations: 0 / 383.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.14, allocations: 0 / 383.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.14, allocations: 0 / 383.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.14, allocations: 7.938 kB / 383.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.1402, allocations: 177.1 kB / 383.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.1403, allocations: 23.94 kB / 383.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.1403, allocations: 4 kB / 383.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.1404, allocations: 4 kB / 383.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.1404, allocations: 3.938 kB / 383.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.1404, allocations: 4 kB / 383.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.1406, allocations: 114.4 kB / 384 MB, free: 10.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1406, allocations: 0 / 384 MB, free: 10.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1409, allocations: 8 kB / 384 MB, free: 10.05 MB / 350.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.0001372/0.141, allocations: 103.2 kB / 384.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.1412, allocations: 35.98 kB / 384.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1412, allocations: 0 / 384.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.1412, allocations: 7.938 kB / 384.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1416, allocations: 28.02 kB / 384.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.142, allocations: 184.4 kB / 384.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.1421, allocations: 87.17 kB / 384.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.664e-05/0.1421, allocations: 3.984 kB / 384.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.1422, allocations: 16.5 kB / 384.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1422, allocations: 0 / 384.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of Templates: time 0.003412/0.1456, allocations: 0.6432 MB / 385.1 MB, free: 8.91 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (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 ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.599593632970937]