Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 213.6 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 51.92 kB / 378.3 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2889, allocations: 53.36 MB / 431.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003895/0.2928, allocations: 2.025 MB / 433.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.2942, allocations: 0.6543 MB / 434.3 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.2944, allocations: 7.938 kB / 434.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.2946, allocations: 43.53 kB / 434.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.803e-05/0.2946, allocations: 39.59 kB / 434.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.295, allocations: 87.78 kB / 434.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.2953, allocations: 203.2 kB / 434.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.2955, allocations: 52.55 kB / 434.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.2957, allocations: 79.66 kB / 434.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2959, allocations: 83.48 kB / 434.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.2959, allocations: 12 kB / 434.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.604e-05/0.296, allocations: 20 kB / 434.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.296, allocations: 27.86 kB / 434.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.618e-05/0.2961, allocations: 95.39 kB / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.2964, allocations: 176.4 kB / 435.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2964, allocations: 4 kB / 435.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2964, allocations: 0 / 435.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2964, allocations: 0 / 435.2 MB, free: 3.355 MB / 334.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.0007514/0.2971, allocations: 433.2 kB / 435.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2972, allocations: 8.031 kB / 435.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/0.2974, allocations: 44.77 kB / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.2978, allocations: 198 kB / 435.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.2978, allocations: 8.375 kB / 435.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.2978, allocations: 12.38 kB / 435.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.2981, allocations: 168.4 kB / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2981, allocations: 0 / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.2982, allocations: 7.938 kB / 436.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.2982, allocations: 4 kB / 436.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.2984, allocations: 91.88 kB / 436.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.2994, allocations: 0.5974 MB / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.2997, allocations: 131.8 kB / 436.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.2998, allocations: 62.61 kB / 436.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.2998, allocations: 0 / 436.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.2999, allocations: 38.56 kB / 437 MB, free: 1.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.2999, allocations: 0 / 437 MB, free: 1.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005223/0.3004, allocations: 177.8 kB / 437.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/0.3005, allocations: 114.7 kB / 437.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.3007, allocations: 237.9 kB / 437.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3008, allocations: 29.83 kB / 437.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3009, allocations: 140 kB / 437.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.3009, allocations: 51.59 kB / 437.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.301, allocations: 33.7 kB / 437.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3011, allocations: 326.8 kB / 438.1 MB, free: 268 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3013, allocations: 43.97 kB / 438.1 MB, free: 224 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3014, allocations: 94.83 kB / 438.2 MB, free: 104 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.3017, allocations: 150.7 kB / 438.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3017, allocations: 0 / 438.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003605/0.3021, allocations: 185.2 kB / 438.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3021, allocations: 4 kB / 438.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3021, allocations: 8.188 kB / 438.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.3021, allocations: 4 kB / 438.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.3023, allocations: 31.97 kB / 438.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3023, allocations: 4 kB / 438.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3024, allocations: 15.89 kB / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.3024, allocations: 11.98 kB / 438.6 MB, free: 15.66 MB / 350.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.0001221/0.3025, allocations: 133.7 kB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.3026, allocations: 31.84 kB / 438.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.303, allocations: 182.9 kB / 439 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.303, allocations: 4 kB / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.303, allocations: 0 / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.303, allocations: 0 / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.3035, allocations: 248.4 kB / 439.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3035, allocations: 7.938 kB / 439.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.3037, allocations: 31.97 kB / 439.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3037, allocations: 0 / 439.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.3037, allocations: 12 kB / 439.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3037, allocations: 192 / 439.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.3037, allocations: 8 kB / 439.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.3043, allocations: 468.3 kB / 439.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.3043, allocations: 35.86 kB / 439.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.3043, allocations: 8 kB / 439.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3045, allocations: 4 kB / 439.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.3046, allocations: 15.97 kB / 439.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3046, allocations: 4 kB / 439.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.3048, allocations: 173.2 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3048, allocations: 0 / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.3051, allocations: 32 kB / 440 MB, free: 14.22 MB / 350.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.0001172/0.3052, allocations: 107.6 kB / 440.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.3056, allocations: 123.7 kB / 440.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3056, allocations: 0 / 440.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.3057, allocations: 59.91 kB / 440.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.3061, allocations: 16.44 kB / 440.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.3072, allocations: 0.6242 MB / 440.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.3076, allocations: 0.7436 MB / 441.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.388e-05/0.3077, allocations: 25.45 kB / 441.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.3077, allocations: 23.44 kB / 441.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3077, allocations: 0 / 441.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Templates: time 0.004986/0.3127, allocations: 1.466 MB / 443.2 MB, free: 10.97 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.82568683498539]