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.001412/0.001412, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00144/0.00144, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.53/1.53, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001676/0.001676, allocations: 47.92 kB / 373.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1358, allocations: 53.33 MB / 426.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003871/0.1397, allocations: 2.019 MB / 428.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1409, allocations: 0.6427 MB / 429.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.141, allocations: 11.88 kB / 429.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.1411, allocations: 39.59 kB / 429.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.1413, allocations: 35.59 kB / 429.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1415, allocations: 87.83 kB / 429.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.1418, allocations: 211.2 kB / 429.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.142, allocations: 52.31 kB / 429.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.1422, allocations: 75.7 kB / 429.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.1423, allocations: 79.55 kB / 430 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.1424, allocations: 15.94 kB / 430 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.708e-05/0.1424, allocations: 20 kB / 430.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.1425, allocations: 31.86 kB / 430.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.646e-05/0.1426, allocations: 99.39 kB / 430.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.1429, allocations: 175 kB / 430.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1429, allocations: 0 / 430.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1429, allocations: 0 / 430.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1429, allocations: 0 / 430.4 MB, free: 0.6953 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.0009122/0.1438, allocations: 0.5022 MB / 430.9 MB, free: 148 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.1438, allocations: 12.03 kB / 430.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/0.1441, allocations: 44.77 kB / 430.9 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2373/0.3814, allocations: 229.4 kB / 431.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.3814, allocations: 12.69 kB / 431.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.3815, allocations: 15.5 kB / 431.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.3818, allocations: 165.1 kB / 431.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3819, allocations: 1.688 kB / 431.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.3819, allocations: 7.406 kB / 431.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.3819, allocations: 4.859 kB / 431.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.3821, allocations: 93.67 kB / 431.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009954/0.3831, allocations: 0.6429 MB / 432.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.3834, allocations: 119.6 kB / 432.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.3835, allocations: 54.55 kB / 432.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.3836, allocations: 5.953 kB / 432.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.3836, allocations: 41.17 kB / 432.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.434e-06/0.3836, allocations: 0 / 432.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005623/0.3842, allocations: 185.2 kB / 432.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.3842, allocations: 106.1 kB / 432.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.3845, allocations: 238.7 kB / 432.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3845, allocations: 26.36 kB / 432.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.3845, allocations: 141.8 kB / 433 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.3846, allocations: 50.77 kB / 433 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.3846, allocations: 35.52 kB / 433.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.3847, allocations: 338.5 kB / 433.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.3848, allocations: 36.58 kB / 433.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.385, allocations: 94.33 kB / 433.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.3852, allocations: 150.1 kB / 433.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3852, allocations: 0.75 kB / 433.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003198/0.3855, allocations: 181.8 kB / 433.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3855, allocations: 4.25 kB / 433.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3856, allocations: 5.719 kB / 433.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3856, allocations: 4.094 kB / 433.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.3857, allocations: 41.83 kB / 433.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.3857, allocations: 1.812 kB / 433.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3858, allocations: 17.48 kB / 433.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.3859, allocations: 12.7 kB / 433.9 MB, free: 9.691 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 7.845e-05/0.3859, allocations: 132.5 kB / 434.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.386, allocations: 22.02 kB / 434.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.3864, allocations: 181.7 kB / 434.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3864, allocations: 2.312 kB / 434.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3864, allocations: 1 kB / 434.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3864, allocations: 8.906 kB / 434.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.3868, allocations: 275.4 kB / 434.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3868, allocations: 2.312 kB / 434.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.387, allocations: 31.66 kB / 434.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.387, allocations: 4.656 kB / 434.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.3871, allocations: 9.25 kB / 434.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3871, allocations: 1.125 kB / 434.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3871, allocations: 5.562 kB / 434.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.3876, allocations: 479.5 kB / 435.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.3876, allocations: 110.4 kB / 435.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.3877, allocations: 2.25 kB / 435.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3878, allocations: 6.844 kB / 435.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.3879, allocations: 14.23 kB / 435.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.3879, allocations: 11.08 kB / 435.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.388, allocations: 175.9 kB / 435.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.388, allocations: 0 / 435.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.3884, allocations: 36.14 kB / 435.4 MB, free: 8.824 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.0001043/0.3885, allocations: 97.31 kB / 435.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.3889, allocations: 112.5 kB / 435.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3889, allocations: 4.125 kB / 435.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.389, allocations: 65.97 kB / 435.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.3894, allocations: 21.92 kB / 435.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3904, allocations: 0.6275 MB / 436.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3906, allocations: 0.739 MB / 437.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.279e-05/0.3907, allocations: 28.81 kB / 437.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.3908, allocations: 22.06 kB / 437.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3908, allocations: 0 / 437.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of Templates: time 0.004967/0.3957, allocations: 1.395 MB / 438.5 MB, free: 7.492 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.9578283205628395]