Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.7 MB / 253.3 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 44.02 kB / 371.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2796, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003447/0.2831, allocations: 1.903 MB / 425.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.2842, allocations: 0.5416 MB / 426.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.2843, allocations: 7.938 kB / 426.3 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.2844, allocations: 39.53 kB / 426.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.462e-05/0.2845, allocations: 43.58 kB / 426.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.2848, allocations: 59.86 kB / 426.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.2851, allocations: 211.1 kB / 426.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.2852, allocations: 52.31 kB / 426.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.2854, allocations: 79.7 kB / 426.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.2855, allocations: 71.5 kB / 426.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.2856, allocations: 12 kB / 426.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.827e-05/0.2856, allocations: 12 kB / 426.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.2857, allocations: 39.84 kB / 426.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.243e-05/0.2857, allocations: 67.59 kB / 426.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.286, allocations: 173.9 kB / 427.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.286, allocations: 0 / 427.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.286, allocations: 0 / 427.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.286, allocations: 4 kB / 427.1 MB, free: 11.16 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.000743/0.2868, allocations: 429.2 kB / 427.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2868, allocations: 8.031 kB / 427.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.2869, allocations: 24.8 kB / 427.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.2871, allocations: 178.1 kB / 427.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2871, allocations: 8.375 kB / 427.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.2872, allocations: 15.94 kB / 427.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.2875, allocations: 164.2 kB / 427.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2875, allocations: 4 kB / 427.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.2876, allocations: 4 kB / 427.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.2876, allocations: 4 kB / 427.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.2878, allocations: 91.88 kB / 428 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.2888, allocations: 0.5355 MB / 428.6 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.2892, allocations: 119.8 kB / 428.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.2893, allocations: 62.61 kB / 428.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.2894, allocations: 7.938 kB / 428.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.2894, allocations: 38.56 kB / 428.8 MB, free: 9.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.2894, allocations: 0 / 428.8 MB, free: 9.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004894/0.2899, allocations: 173.4 kB / 428.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.29, allocations: 106.8 kB / 429.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.2902, allocations: 195 kB / 429.2 MB, free: 8.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.2902, allocations: 25.83 kB / 429.3 MB, free: 8.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/0.2903, allocations: 147.8 kB / 429.4 MB, free: 8.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.2903, allocations: 51.58 kB / 429.5 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.2904, allocations: 33.7 kB / 429.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2906, allocations: 322.8 kB / 429.8 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.2907, allocations: 43.97 kB / 429.9 MB, free: 8.195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.2908, allocations: 90.84 kB / 429.9 MB, free: 8.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.2911, allocations: 150.6 kB / 430.1 MB, free: 7.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2911, allocations: 4 kB / 430.1 MB, free: 7.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003465/0.2915, allocations: 169.4 kB / 430.3 MB, free: 7.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2915, allocations: 14.98 kB / 430.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2915, allocations: 4 kB / 430.3 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2915, allocations: 4 kB / 430.3 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.2917, allocations: 28.03 kB / 430.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2917, allocations: 7.938 kB / 430.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.2918, allocations: 27.86 kB / 430.3 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.2918, allocations: 4 kB / 430.3 MB, free: 7.648 MB / 334.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.0001237/0.2919, allocations: 125.8 kB / 430.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.292, allocations: 19.91 kB / 430.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.2924, allocations: 186.5 kB / 430.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2924, allocations: 0 / 430.7 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2924, allocations: 4.562 kB / 430.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2924, allocations: 0 / 430.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.2929, allocations: 197.1 kB / 430.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2929, allocations: 0 / 430.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.2931, allocations: 35.97 kB / 430.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.2931, allocations: 4 kB / 430.9 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.2931, allocations: 4 kB / 430.9 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.2931, allocations: 7.938 kB / 430.9 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2931, allocations: 7.938 kB / 430.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.2937, allocations: 465.7 kB / 431.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.2937, allocations: 27.78 kB / 431.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.2938, allocations: 8.062 kB / 431.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.2939, allocations: 4 kB / 431.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.294, allocations: 15.97 kB / 431.4 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.294, allocations: 4 kB / 431.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.2941, allocations: 148.3 kB / 431.6 MB, free: 6.344 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2941, allocations: 4 kB / 431.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003587/0.2945, allocations: 32 kB / 431.6 MB, free: 6.309 MB / 334.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.0001107/0.2946, allocations: 95.25 kB / 431.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.2949, allocations: 115.8 kB / 431.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2949, allocations: 0 / 431.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.2951, allocations: 68.27 kB / 431.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.2955, allocations: 15.78 kB / 431.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.2967, allocations: 0.6487 MB / 432.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.2968, allocations: 129.6 kB / 432.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.2969, allocations: 27.42 kB / 432.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2969, allocations: 0 / 432.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of Templates: time 0.004638/0.3015, allocations: 2.097 MB / 434.8 MB, free: 3.051 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.0716174291446805]