Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008203/0.0008203, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004249/0.004249, allocations: 158.7 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8788/0.8788, allocations: 177 MB / 204.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.677e-05, allocations: 2.281 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.00221/0.002237, allocations: 1.919 MB / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007789/0.003016, allocations: 0.6076 MB / 328.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.003117, allocations: 7.938 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.003292, allocations: 43.53 kB / 328.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.003351, allocations: 35.59 kB / 328.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.003609, allocations: 87.77 kB / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.003794, allocations: 211 kB / 328.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.003932, allocations: 56.33 kB / 328.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.004104, allocations: 103.8 kB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.004182, allocations: 63.73 kB / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.004203, allocations: 12 kB / 328.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-05/0.004246, allocations: 16 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.004269, allocations: 35.83 kB / 328.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.004308, allocations: 51.84 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.004488, allocations: 179.3 kB / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.004492, allocations: 7.984 kB / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004494, allocations: 0 / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.004498, allocations: 0 / 329.2 MB, free: 11.96 MB / 298.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.0004733/0.004972, allocations: 429.1 kB / 329.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.005011, allocations: 11.98 kB / 329.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.005156, allocations: 40.78 kB / 329.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.005383, allocations: 189.3 kB / 329.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.005394, allocations: 12.31 kB / 329.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.005425, allocations: 16.38 kB / 329.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.00564, allocations: 164.7 kB / 330 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.00565, allocations: 4.188 kB / 330 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.005664, allocations: 8.375 kB / 330 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.00567, allocations: 3.938 kB / 330 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.005802, allocations: 95.88 kB / 330.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.006388, allocations: 0.5278 MB / 330.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.006566, allocations: 127.8 kB / 330.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.828e-05/0.006635, allocations: 54.69 kB / 330.8 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.006654, allocations: 8 kB / 330.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.006673, allocations: 34.56 kB / 330.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.006674, allocations: 0 / 330.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003281/0.007002, allocations: 181.3 kB / 331.1 MB, free: 9.918 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.007051, allocations: 102.8 kB / 331.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.007181, allocations: 199.2 kB / 331.4 MB, free: 9.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.007194, allocations: 25.83 kB / 331.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.007257, allocations: 151.8 kB / 331.5 MB, free: 9.406 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.007294, allocations: 51.58 kB / 331.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.007331, allocations: 29.7 kB / 331.6 MB, free: 9.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.975e-05/0.007411, allocations: 334.8 kB / 331.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.137e-05/0.007472, allocations: 39.92 kB / 332 MB, free: 8.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.993e-05/0.007552, allocations: 94.69 kB / 332.1 MB, free: 8.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.007701, allocations: 146.8 kB / 332.2 MB, free: 8.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.007704, allocations: 0 / 332.2 MB, free: 8.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002022/0.007906, allocations: 177.3 kB / 332.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.007919, allocations: 8.188 kB / 332.4 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.007927, allocations: 8.5 kB / 332.4 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.00794, allocations: 0 / 332.4 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.441e-05/0.008025, allocations: 39.91 kB / 332.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.008031, allocations: 0 / 332.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.008082, allocations: 23.89 kB / 332.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.008093, allocations: 7.984 kB / 332.5 MB, free: 8.395 MB / 298.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 7.749e-05/0.00817, allocations: 133.8 kB / 332.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.008206, allocations: 15.91 kB / 332.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.008439, allocations: 186.5 kB / 332.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.008443, allocations: 4.094 kB / 332.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.008447, allocations: 0 / 332.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.008453, allocations: 3.984 kB / 332.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.008699, allocations: 193.2 kB / 333 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.0087, allocations: 0 / 333 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.544e-05/0.008786, allocations: 31.98 kB / 333 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.008788, allocations: 0 / 333 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.008802, allocations: 11.98 kB / 333 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.008806, allocations: 11.88 kB / 333 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.008807, allocations: 160 / 333 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.009158, allocations: 473.3 kB / 333.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.009178, allocations: 19.86 kB / 333.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.009197, allocations: 8 kB / 333.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.009286, allocations: 7.984 kB / 333.5 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.009331, allocations: 15.98 kB / 333.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.009339, allocations: 7.984 kB / 333.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.796e-05/0.009417, allocations: 140.7 kB / 333.7 MB, free: 7.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009417, allocations: 7.938 kB / 333.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.009641, allocations: 39.89 kB / 333.8 MB, free: 7.051 MB / 298.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 8.791e-05/0.009729, allocations: 91.25 kB / 333.8 MB, free: 6.949 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.009938, allocations: 115.7 kB / 334 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.009939, allocations: 0 / 334 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.01002, allocations: 64.28 kB / 334 MB, free: 6.773 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.01042, allocations: 12.84 kB / 334 MB, free: 6.762 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.01107, allocations: 0.5535 MB / 334.6 MB, free: 6.172 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.511e-05/0.01116, allocations: 133.7 kB / 334.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.01121, allocations: 20.5 kB / 334.7 MB, free: 6 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01121, allocations: 0 / 334.7 MB, free: 6 MB / 298.7 MB Notification: Performance of Templates: time 0.00235/0.01356, allocations: 2.149 MB / 336.9 MB, free: 3.848 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.408223201520741]