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.001465/0.001465, allocations: 123.4 kB / 18.46 MB, free: 4.598 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.001689/0.001689, allocations: 192.3 kB / 21.4 MB, free: 1.668 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.389/1.389, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.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.001448/0.001448, allocations: 43.92 kB / 366.8 MB, free: 384 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09475, allocations: 52.15 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003147/0.09789, allocations: 2.009 MB / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009717/0.09887, allocations: 0.5726 MB / 421.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.09895, allocations: 3.938 kB / 421.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.09911, allocations: 39.59 kB / 421.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.99e-05/0.0992, allocations: 43.59 kB / 421.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.09943, allocations: 67.84 kB / 421.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.09967, allocations: 195.2 kB / 421.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.09984, allocations: 52.36 kB / 421.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.09997, allocations: 75.72 kB / 422 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1001, allocations: 91.42 kB / 422.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.1001, allocations: 12 kB / 422.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.686e-05/0.1002, allocations: 12 kB / 422.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.1002, allocations: 39.84 kB / 422.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.054e-05/0.1003, allocations: 83.47 kB / 422.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.1005, allocations: 175 kB / 422.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1005, allocations: 0 / 422.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1005, allocations: 0 / 422.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1005, allocations: 0 / 422.4 MB, free: 8.66 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.0007625/0.1013, allocations: 0.4906 MB / 422.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1013, allocations: 16.02 kB / 422.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.1014, allocations: 20.8 kB / 422.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1017, allocations: 239.7 kB / 423.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1017, allocations: 8.375 kB / 423.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.1017, allocations: 15.94 kB / 423.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.1021, allocations: 168.7 kB / 423.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1021, allocations: 4 kB / 423.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.1021, allocations: 7.984 kB / 423.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1021, allocations: 4 kB / 423.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.1023, allocations: 91.88 kB / 423.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009911/0.1033, allocations: 0.6488 MB / 424.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.1036, allocations: 123.8 kB / 424.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.1037, allocations: 54.67 kB / 424.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1037, allocations: 4 kB / 424.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1037, allocations: 38.56 kB / 424.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.1037, allocations: 0 / 424.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.000494/0.1042, allocations: 177.4 kB / 424.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.1043, allocations: 110.9 kB / 424.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.1046, allocations: 229 kB / 424.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1046, allocations: 29.7 kB / 424.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.996e-05/0.1047, allocations: 140 kB / 425 MB, free: 5.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.1047, allocations: 43.58 kB / 425 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.1048, allocations: 37.7 kB / 425.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.105, allocations: 334.8 kB / 425.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.1051, allocations: 43.97 kB / 425.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.1052, allocations: 90.78 kB / 425.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.1055, allocations: 146.7 kB / 425.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1055, allocations: 0 / 425.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003535/0.1058, allocations: 185.3 kB / 425.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1058, allocations: 8 kB / 425.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1059, allocations: 4.547 kB / 425.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1059, allocations: 4 kB / 425.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.106, allocations: 39.92 kB / 425.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.106, allocations: 0 / 425.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1061, allocations: 23.88 kB / 425.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1062, allocations: 4 kB / 425.9 MB, free: 4.797 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 0.0001161/0.1063, allocations: 133.9 kB / 426.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.1063, allocations: 23.86 kB / 426.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.1067, allocations: 186.8 kB / 426.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1067, allocations: 0 / 426.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1067, allocations: 4 kB / 426.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1067, allocations: 0 / 426.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.1072, allocations: 273.4 kB / 426.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1072, allocations: 8 kB / 426.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.1074, allocations: 27.98 kB / 426.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1074, allocations: 0 / 426.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1074, allocations: 15.92 kB / 426.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1074, allocations: 0 / 426.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1074, allocations: 4 kB / 426.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005728/0.108, allocations: 469.8 kB / 427.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.1081, allocations: 104.9 kB / 427.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.1081, allocations: 8.062 kB / 427.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.1083, allocations: 7.922 kB / 427.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.1083, allocations: 19.92 kB / 427.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1083, allocations: 7.938 kB / 427.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1085, allocations: 172.5 kB / 427.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1085, allocations: 4 kB / 427.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003328/0.1088, allocations: 32 kB / 427.4 MB, free: 3.223 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.0001134/0.1089, allocations: 99.17 kB / 427.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.1093, allocations: 113.8 kB / 427.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1093, allocations: 384 / 427.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.1094, allocations: 67.84 kB / 427.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.1098, allocations: 12.44 kB / 427.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1109, allocations: 0.6596 MB / 428.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1113, allocations: 0.7358 MB / 429.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.1114, allocations: 23.42 kB / 429.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1114, allocations: 4 kB / 429.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of Templates: time 0.004036/0.1154, allocations: 2.141 MB / 431.3 MB, free: 15.3 MB / 366.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.554299516137689]