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.00137/0.00137, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002423/0.003794, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00155/0.00155, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001939/0.003489, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.186/1.186, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1414/1.328, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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 3.026e-06/3.026e-06, allocations: 4 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.956e-05, allocations: 6.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002157/0.002176, allocations: 2.031 MB / 246.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000725/0.002901, allocations: 0.6464 MB / 247.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.264e-05/0.002994, allocations: 3.938 kB / 247.4 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.555e-05/0.003079, allocations: 43.48 kB / 247.4 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.00314, allocations: 35.59 kB / 247.5 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.003298, allocations: 87.75 kB / 247.6 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.003491, allocations: 211.1 kB / 247.8 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.003627, allocations: 62.52 kB / 247.8 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.003835, allocations: 136.3 kB / 248 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.122e-05/0.003926, allocations: 51.81 kB / 248 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.00395, allocations: 12 kB / 248 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-05/0.004016, allocations: 16 kB / 248 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.004045, allocations: 27.88 kB / 248.1 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.004085, allocations: 43.88 kB / 248.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.004249, allocations: 115.4 kB / 248.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.004262, allocations: 0 / 248.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004263, allocations: 0 / 248.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.004274, allocations: 4 kB / 248.2 MB, free: 10.7 MB / 250.7 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.0005235/0.004797, allocations: 447.4 kB / 248.7 MB, free: 10.24 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.004835, allocations: 8.031 kB / 248.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.005028, allocations: 118 kB / 248.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.00521, allocations: 181.3 kB / 249 MB, free: 9.898 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.00522, allocations: 8.375 kB / 249 MB, free: 9.891 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.005249, allocations: 20.33 kB / 249 MB, free: 9.871 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.00541, allocations: 149.3 kB / 249.1 MB, free: 9.707 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-06/0.005417, allocations: 192 / 249.1 MB, free: 9.707 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.005428, allocations: 4.375 kB / 249.1 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.005435, allocations: 7.938 kB / 249.1 MB, free: 9.695 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.759e-05/0.005483, allocations: 35.97 kB / 249.2 MB, free: 9.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.005941, allocations: 440.1 kB / 249.6 MB, free: 9.207 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.006059, allocations: 95.73 kB / 249.7 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.006091, allocations: 30.83 kB / 249.7 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.006106, allocations: 8 kB / 249.7 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.006129, allocations: 38.5 kB / 249.8 MB, free: 8.992 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.00613, allocations: 4 kB / 249.8 MB, free: 8.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001724/0.006302, allocations: 89.58 kB / 249.9 MB, free: 8.895 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.006348, allocations: 110.8 kB / 250 MB, free: 8.762 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.006451, allocations: 190.5 kB / 250.2 MB, free: 8.562 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.006463, allocations: 25.7 kB / 250.2 MB, free: 8.531 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.006511, allocations: 127.9 kB / 250.3 MB, free: 8.402 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.006551, allocations: 47.58 kB / 250.4 MB, free: 8.355 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.006588, allocations: 29.81 kB / 250.4 MB, free: 8.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.006675, allocations: 342.8 kB / 250.7 MB, free: 7.977 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.006695, allocations: 11.94 kB / 250.7 MB, free: 7.965 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.857e-05/0.006744, allocations: 65.19 kB / 250.8 MB, free: 7.879 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.773e-05/0.006832, allocations: 94.69 kB / 250.9 MB, free: 7.762 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.006834, allocations: 0 / 250.9 MB, free: 7.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001105/0.006944, allocations: 105.5 kB / 251 MB, free: 7.652 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.006957, allocations: 8 kB / 251 MB, free: 7.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.006962, allocations: 4.5 kB / 251 MB, free: 7.641 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.006974, allocations: 4 kB / 251 MB, free: 7.637 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.007067, allocations: 39.91 kB / 251 MB, free: 7.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.007073, allocations: 4 kB / 251.1 MB, free: 7.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.007118, allocations: 23.81 kB / 251.1 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.007128, allocations: 8 kB / 251.1 MB, free: 7.562 MB / 250.7 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 6.754e-05/0.007196, allocations: 122 kB / 251.2 MB, free: 7.434 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.00723, allocations: 15.98 kB / 251.2 MB, free: 7.418 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.007372, allocations: 114.7 kB / 251.3 MB, free: 7.297 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.007376, allocations: 4 kB / 251.3 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.007379, allocations: 3.938 kB / 251.3 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.007384, allocations: 0 / 251.3 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.00759, allocations: 129.7 kB / 251.5 MB, free: 7.145 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.007592, allocations: 4 kB / 251.5 MB, free: 7.141 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/0.007682, allocations: 43.91 kB / 251.5 MB, free: 7.098 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.007698, allocations: 15.91 kB / 251.5 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.007701, allocations: 4 kB / 251.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.007714, allocations: 0 / 251.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.007715, allocations: 0 / 251.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.007718, allocations: 8.094 kB / 251.5 MB, free: 7.07 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.00794, allocations: 377.8 kB / 251.9 MB, free: 6.684 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.007956, allocations: 4 kB / 251.9 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.008035, allocations: 4 kB / 251.9 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.008076, allocations: 23.89 kB / 251.9 MB, free: 6.652 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.008082, allocations: 4 kB / 251.9 MB, free: 6.648 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.288e-05/0.008125, allocations: 66.19 kB / 252 MB, free: 6.582 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008125, allocations: 0 / 252 MB, free: 6.582 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.008313, allocations: 35.89 kB / 252 MB, free: 6.547 MB / 250.7 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 7.972e-05/0.008393, allocations: 84.36 kB / 252.1 MB, free: 6.457 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.008495, allocations: 68.77 kB / 252.2 MB, free: 6.387 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.008503, allocations: 4 kB / 252.2 MB, free: 6.383 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.104e-05/0.008564, allocations: 56.75 kB / 252.2 MB, free: 6.324 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.008805, allocations: 41.73 kB / 252.3 MB, free: 6.285 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.01022, allocations: 415.1 kB / 252.7 MB, free: 5.844 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.473e-05/0.01028, allocations: 79.83 kB / 252.8 MB, free: 5.746 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.038e-05/0.01032, allocations: 13.77 kB / 252.8 MB, free: 5.734 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.01039, allocations: 75.36 kB / 252.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01039, allocations: 0 / 252.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of Templates: time 0.002852/0.01325, allocations: 1.137 MB / 254 MB, free: 4.539 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.856629006564617]