Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Modulation.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.001697/0.001697, allocations: 107.8 kB / 19.17 MB, free: 3.871 MB / 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.002109/0.002109, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.502/1.502, allocations: 230.2 MB / 255.1 MB, free: 15.27 MB / 206.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.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Modulation") translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 63.89 kB / 374.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1267, allocations: 53.32 MB / 427.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003377/0.1301, allocations: 2.023 MB / 429.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1312, allocations: 0.6427 MB / 430.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1313, allocations: 4 kB / 430.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1315, allocations: 39.53 kB / 430.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.926e-05/0.1316, allocations: 43.59 kB / 430.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1319, allocations: 83.83 kB / 430.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.1322, allocations: 207.1 kB / 430.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.1324, allocations: 48.39 kB / 430.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.1326, allocations: 87.62 kB / 431 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1327, allocations: 71.58 kB / 431.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.1327, allocations: 12 kB / 431.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.284e-05/0.1328, allocations: 19.98 kB / 431.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.1328, allocations: 35.84 kB / 431.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.015e-05/0.1329, allocations: 87.42 kB / 431.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.1333, allocations: 187 kB / 431.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1333, allocations: 0 / 431.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1333, allocations: 0 / 431.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1333, allocations: 4 kB / 431.4 MB, free: 0.9258 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000761/0.134, allocations: 0.501 MB / 431.9 MB, free: 388 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1341, allocations: 8.031 kB / 431.9 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.1343, allocations: 48.77 kB / 432 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1347, allocations: 239.9 kB / 432.2 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1347, allocations: 16.38 kB / 432.2 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.1347, allocations: 12.38 kB / 432.2 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.1351, allocations: 168.5 kB / 432.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1351, allocations: 0 / 432.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.1352, allocations: 8 kB / 432.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1352, allocations: 4 kB / 432.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.1354, allocations: 87.95 kB / 432.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1364, allocations: 0.6411 MB / 433.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.1367, allocations: 127.8 kB / 433.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1368, allocations: 54.69 kB / 433.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1368, allocations: 3.938 kB / 433.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.1368, allocations: 42.48 kB / 433.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.1368, allocations: 8 kB / 433.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005405/0.1374, allocations: 169.4 kB / 433.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.1375, allocations: 106.8 kB / 433.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.1377, allocations: 242.6 kB / 433.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1378, allocations: 25.7 kB / 433.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/0.1379, allocations: 136 kB / 434 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.1379, allocations: 55.64 kB / 434.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.138, allocations: 37.64 kB / 434.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1382, allocations: 334.8 kB / 434.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1383, allocations: 43.97 kB / 434.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.1384, allocations: 86.84 kB / 434.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.1388, allocations: 150.7 kB / 434.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1388, allocations: 4 kB / 434.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003754/0.1391, allocations: 185.8 kB / 434.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1392, allocations: 4 kB / 434.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.1392, allocations: 8.062 kB / 434.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1392, allocations: 192 / 434.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.1394, allocations: 39.92 kB / 434.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1394, allocations: 7.984 kB / 435 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1395, allocations: 15.89 kB / 435 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1395, allocations: 8 kB / 435 MB, free: 13.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 17 * 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.0001265/0.1396, allocations: 133.7 kB / 435.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/0.1397, allocations: 23.84 kB / 435.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/0.1401, allocations: 178.8 kB / 435.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1401, allocations: 4 kB / 435.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1401, allocations: 0 / 435.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1401, allocations: 0 / 435.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.1406, allocations: 277.4 kB / 435.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1406, allocations: 0 / 435.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.1409, allocations: 43.91 kB / 435.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1409, allocations: 0 / 435.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.1409, allocations: 4 kB / 435.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1409, allocations: 0 / 435.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1409, allocations: 4 kB / 435.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.1415, allocations: 479.7 kB / 436.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.1416, allocations: 104.9 kB / 436.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.1416, allocations: 4.062 kB / 436.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.1418, allocations: 12 kB / 436.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.1419, allocations: 11.98 kB / 436.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.1419, allocations: 7.984 kB / 436.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.1421, allocations: 177.9 kB / 436.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1421, allocations: 3.938 kB / 436.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.1424, allocations: 35.94 kB / 436.5 MB, free: 11.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * 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 (17): * Single equations (assignments): 17 * 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.0001418/0.1426, allocations: 99.19 kB / 436.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.1429, allocations: 111.8 kB / 436.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.1429, allocations: 4 kB / 436.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.143, allocations: 59.84 kB / 436.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.1435, allocations: 18.25 kB / 436.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.1448, allocations: 0.6564 MB / 437.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.1452, allocations: 0.7475 MB / 438.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.1453, allocations: 15.44 kB / 438.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1453, allocations: 0 / 438.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of Templates: time 0.004475/0.1497, allocations: 2.187 MB / 440.3 MB, free: 7.48 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.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: 7.291216698009521]