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.001335/0.001335, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001428/0.001428, allocations: 165 kB / 24.99 MB, free: 8.801 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.9706/0.9706, allocations: 177 MB / 205.2 MB, free: 5.582 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.643e-06/1.643e-06, allocations: 0 / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.955e-05, allocations: 2.312 kB / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002673/0.002693, allocations: 1.992 MB / 275 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.00381, allocations: 0.627 MB / 275.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.003944, allocations: 3.938 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.004113, allocations: 43.53 kB / 275.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.004201, allocations: 39.53 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.004508, allocations: 83.78 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.004745, allocations: 215.1 kB / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.004899, allocations: 60.53 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.0051, allocations: 99.78 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.325e-05/0.005193, allocations: 63.73 kB / 276.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.005222, allocations: 12 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.356e-05/0.005275, allocations: 16 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.005309, allocations: 43.77 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.005363, allocations: 47.84 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.005567, allocations: 131.4 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005569, allocations: 0 / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.00557, allocations: 0 / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005574, allocations: 8 kB / 276.4 MB, free: 14.28 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.00059/0.006164, allocations: 0.5151 MB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.00621, allocations: 11.98 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.00641, allocations: 48.78 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.006655, allocations: 184.2 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.00667, allocations: 8.375 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.006705, allocations: 16.31 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.006963, allocations: 157.9 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.006974, allocations: 192 / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.006996, allocations: 12.36 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.007015, allocations: 3.938 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.007122, allocations: 51.91 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000797/0.007919, allocations: 0.669 MB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.008103, allocations: 121.3 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/0.008163, allocations: 43.17 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.00818, allocations: 8 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.008204, allocations: 37.39 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.008206, allocations: 0 / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003093/0.008515, allocations: 125.3 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.00857, allocations: 114.8 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.008745, allocations: 241.8 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.008762, allocations: 29.7 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.008848, allocations: 186.6 kB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.008893, allocations: 51.58 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.00895, allocations: 39.48 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.009094, allocations: 0.5001 MB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-05/0.00914, allocations: 16.48 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.243e-05/0.009222, allocations: 92.28 kB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.009368, allocations: 125.4 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.009373, allocations: 4 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002068/0.00958, allocations: 137.4 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.009595, allocations: 4 kB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.009603, allocations: 7.938 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.009618, allocations: 48 / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.00973, allocations: 39.89 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.009737, allocations: 4 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.009804, allocations: 15.89 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.009819, allocations: 11.98 kB / 280 MB, free: 10.34 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 9.23e-05/0.009911, allocations: 168.7 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.009978, allocations: 23.91 kB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.01021, allocations: 138.6 kB / 280.4 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.01021, allocations: 7.938 kB / 280.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01022, allocations: 0 / 280.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01022, allocations: 0 / 280.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.01056, allocations: 196.5 kB / 280.6 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.01056, allocations: 4 kB / 280.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.01068, allocations: 35.97 kB / 280.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01068, allocations: 7.938 kB / 280.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.01071, allocations: 4 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01071, allocations: 3.938 kB / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01071, allocations: 0 / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.01109, allocations: 0.5254 MB / 281.1 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.01111, allocations: 19.86 kB / 281.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.01114, allocations: 7.938 kB / 281.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.01128, allocations: 7.984 kB / 281.2 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.01133, allocations: 15.92 kB / 281.2 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.01134, allocations: 12.11 kB / 281.2 MB, free: 9.102 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.01145, allocations: 180.5 kB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01145, allocations: 4 kB / 281.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003498/0.01179, allocations: 39.89 kB / 281.4 MB, free: 8.883 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 9.056e-05/0.01189, allocations: 95.25 kB / 281.5 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.01206, allocations: 79.52 kB / 281.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01207, allocations: 0 / 281.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.094e-05/0.01214, allocations: 51.91 kB / 281.6 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.01252, allocations: 15.19 kB / 281.7 MB, free: 8.633 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009723/0.01349, allocations: 0.5338 MB / 282.2 MB, free: 8.059 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.019e-05/0.01356, allocations: 83.81 kB / 282.3 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.01361, allocations: 17.47 kB / 282.3 MB, free: 7.941 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.01366, allocations: 20.48 kB / 282.3 MB, free: 7.922 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01366, allocations: 0 / 282.3 MB, free: 7.922 MB / 266.7 MB Notification: Performance of Templates: time 0.003305/0.01697, allocations: 1.154 MB / 283.5 MB, free: 6.773 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7813923901412636]