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.001463/0.001463, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001672/0.001672, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 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.504/1.504, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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 3.306e-06/3.306e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.645e-05/4.975e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.004/0.00405, allocations: 1.926 MB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.005331, allocations: 0.5998 MB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.005446, allocations: 11.88 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.005624, allocations: 39.53 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.756e-05/0.005721, allocations: 43.58 kB / 274.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.006045, allocations: 75.84 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.00635, allocations: 219.1 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.006521, allocations: 48.5 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.006793, allocations: 115.7 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.006939, allocations: 63.72 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.006977, allocations: 12 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.918e-05/0.007047, allocations: 20 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.00709, allocations: 31.84 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.931e-05/0.007169, allocations: 47.84 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.007513, allocations: 179.3 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.007516, allocations: 4 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007517, allocations: 0 / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.007524, allocations: 0 / 275.7 MB, free: 14.39 MB / 266.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.0008735/0.008397, allocations: 433.2 kB / 276.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.008453, allocations: 12.03 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.008735, allocations: 52.77 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.009081, allocations: 185.2 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.009102, allocations: 12.38 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.009153, allocations: 16.38 kB / 276.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.009519, allocations: 160.7 kB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.009532, allocations: 4.125 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.009551, allocations: 4.375 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.009563, allocations: 7.938 kB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.009809, allocations: 87.95 kB / 276.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.01083, allocations: 0.5316 MB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.01112, allocations: 135.8 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.01125, allocations: 54.67 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.01127, allocations: 4 kB / 277.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.01131, allocations: 38.5 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.01131, allocations: 0 / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005538/0.01187, allocations: 185.6 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.09e-05/0.01196, allocations: 102.8 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.01219, allocations: 199.4 kB / 277.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.01222, allocations: 29.7 kB / 277.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.01236, allocations: 147.8 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.174e-05/0.01242, allocations: 43.59 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.01249, allocations: 37.7 kB / 278.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.01268, allocations: 326.8 kB / 278.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.0128, allocations: 35.97 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.01297, allocations: 98.77 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.01325, allocations: 146.8 kB / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01325, allocations: 0 / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003813/0.01363, allocations: 185.5 kB / 278.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.01365, allocations: 7.984 kB / 279 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.01367, allocations: 7.938 kB / 279 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.01369, allocations: 0 / 279 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.01385, allocations: 39.92 kB / 279 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.01386, allocations: 0 / 279 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.01397, allocations: 19.88 kB / 279 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.01398, allocations: 4 kB / 279 MB, free: 10.82 MB / 266.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 0.000141/0.01412, allocations: 129.8 kB / 279.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.653e-05/0.0142, allocations: 27.94 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.01467, allocations: 186.5 kB / 279.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.01468, allocations: 4 kB / 279.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.01468, allocations: 0 / 279.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01469, allocations: 0 / 279.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.01511, allocations: 189.2 kB / 279.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.01512, allocations: 3.984 kB / 279.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.01531, allocations: 35.92 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.01531, allocations: 4 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.01533, allocations: 8.312 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.01534, allocations: 7.938 kB / 279.6 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.01534, allocations: 4 kB / 279.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007073/0.01605, allocations: 479.1 kB / 280.1 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.01608, allocations: 15.86 kB / 280.1 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.01611, allocations: 12 kB / 280.1 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.01629, allocations: 4 kB / 280.1 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.01635, allocations: 15.97 kB / 280.1 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.01637, allocations: 8 kB / 280.1 MB, free: 9.645 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.01653, allocations: 143.2 kB / 280.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01653, allocations: 0 / 280.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003862/0.01691, allocations: 39.89 kB / 280.3 MB, free: 9.465 MB / 266.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 0.0001471/0.01706, allocations: 95.23 kB / 280.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003459/0.0174, allocations: 115.8 kB / 280.5 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01741, allocations: 384 / 280.5 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.01756, allocations: 63.91 kB / 280.6 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005898/0.01815, allocations: 15.95 kB / 280.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.01929, allocations: 0.5353 MB / 281.1 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.01946, allocations: 129.7 kB / 281.3 MB, free: 8.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.644e-05/0.01954, allocations: 25.47 kB / 281.3 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.0196, allocations: 16.5 kB / 281.3 MB, free: 8.41 MB / 266.7 MB Notification: Performance of SimCode: time 1.203e-06/0.0196, allocations: 0 / 281.3 MB, free: 8.41 MB / 266.7 MB Notification: Performance of Templates: time 0.004687/0.02429, allocations: 1.153 MB / 282.5 MB, free: 7.262 MB / 266.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=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.574514889973216]