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.001556/0.001556, allocations: 119.4 kB / 18.41 MB, free: 4.648 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.001609/0.00161, allocations: 196.3 kB / 21.35 MB, free: 1.711 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.474/1.474, allocations: 222.9 MB / 247.1 MB, free: 4.207 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.001526/0.001526, allocations: 47.92 kB / 358.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09989/0.1014, allocations: 49.45 MB / 408.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003097/0.1046, allocations: 1.99 MB / 410.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000996/0.1056, allocations: 0.5803 MB / 410.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.1057, allocations: 4 kB / 410.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.1059, allocations: 35.55 kB / 410.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.279e-05/0.106, allocations: 35.59 kB / 410.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.1062, allocations: 71.84 kB / 410.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.1065, allocations: 199.2 kB / 411 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.1067, allocations: 80.33 kB / 411.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.1069, allocations: 71.72 kB / 411.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.107, allocations: 79.55 kB / 411.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.107, allocations: 12 kB / 411.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.898e-05/0.1071, allocations: 12 kB / 411.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.1071, allocations: 35.86 kB / 411.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/0.1072, allocations: 91.34 kB / 411.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.1074, allocations: 171.2 kB / 411.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1074, allocations: 4 kB / 411.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1074, allocations: 0 / 411.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1075, allocations: 0 / 411.6 MB, free: 3.383 MB / 334.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.0007581/0.1082, allocations: 498.3 kB / 412 MB, free: 2.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1083, allocations: 15.97 kB / 412.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.24e-05/0.1083, allocations: 24.8 kB / 412.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1086, allocations: 247.7 kB / 412.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1087, allocations: 8.375 kB / 412.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.1087, allocations: 23.94 kB / 412.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.1091, allocations: 168.6 kB / 412.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1091, allocations: 0 / 412.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1091, allocations: 4 kB / 412.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.1091, allocations: 4 kB / 412.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.1093, allocations: 83.89 kB / 412.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.1104, allocations: 0.6412 MB / 413.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.1107, allocations: 131.8 kB / 413.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.1108, allocations: 62.62 kB / 413.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1108, allocations: 0 / 413.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1109, allocations: 38.55 kB / 413.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.1109, allocations: 4 kB / 413.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005279/0.1114, allocations: 173.4 kB / 413.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.1115, allocations: 106.8 kB / 413.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.1118, allocations: 233 kB / 414 MB, free: 0.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1118, allocations: 25.7 kB / 414 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1119, allocations: 140 kB / 414.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.112, allocations: 51.7 kB / 414.2 MB, free: 496 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.112, allocations: 33.7 kB / 414.2 MB, free: 456 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1122, allocations: 338.8 kB / 414.6 MB, free: 108 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1123, allocations: 35.97 kB / 414.6 MB, free: 72 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.1125, allocations: 98.83 kB / 414.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.1128, allocations: 142.7 kB / 414.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1128, allocations: 0 / 414.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003778/0.1132, allocations: 185.2 kB / 415 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.1132, allocations: 8 kB / 415 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1133, allocations: 0 / 415 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1133, allocations: 4 kB / 415 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1134, allocations: 36.2 kB / 415.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1135, allocations: 4 kB / 415.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1136, allocations: 28.42 kB / 415.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.1136, allocations: 7.938 kB / 415.1 MB, free: 15.51 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.0001248/0.1137, allocations: 133.7 kB / 415.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.1138, allocations: 23.86 kB / 415.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/0.1142, allocations: 190.7 kB / 415.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1142, allocations: 0 / 415.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.1143, allocations: 8 kB / 415.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1143, allocations: 0 / 415.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.1148, allocations: 269.4 kB / 415.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1148, allocations: 4 kB / 415.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.115, allocations: 27.98 kB / 415.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.115, allocations: 0 / 415.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.115, allocations: 11.98 kB / 415.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.115, allocations: 0 / 415.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.115, allocations: 8 kB / 415.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/0.1156, allocations: 471.8 kB / 416.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.1157, allocations: 105 kB / 416.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1158, allocations: 0 / 416.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.116, allocations: 15.98 kB / 416.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.116, allocations: 11.98 kB / 416.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.116, allocations: 11.94 kB / 416.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.1162, allocations: 168.5 kB / 416.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1162, allocations: 0 / 416.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.1166, allocations: 32 kB / 416.6 MB, free: 13.95 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.0001179/0.1167, allocations: 103.1 kB / 416.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003297/0.117, allocations: 119.8 kB / 416.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1171, allocations: 0 / 416.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.1172, allocations: 63.89 kB / 416.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.1176, allocations: 20.38 kB / 416.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.1187, allocations: 0.66 MB / 417.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1192, allocations: 0.7397 MB / 418.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.1192, allocations: 23.42 kB / 418.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1192, allocations: 0 / 418.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Templates: time 0.004226/0.1235, allocations: 2.137 MB / 420.4 MB, free: 10.01 MB / 350.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: 7.161502758972347]