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.001299/0.001299, allocations: 73.8 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001411/0.001411, allocations: 160.3 kB / 24.5 MB, free: 3.715 MB / 14.72 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.426/1.426, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 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 0.001585/0.001585, allocations: 54.86 kB / 325.6 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09826, allocations: 53.33 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003209/0.1015, allocations: 1.91 MB / 380.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1026, allocations: 0.6037 MB / 381.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.1027, allocations: 11.88 kB / 381.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.1029, allocations: 39.59 kB / 381.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.23e-05/0.103, allocations: 43.59 kB / 381.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.1033, allocations: 83.83 kB / 381.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.1036, allocations: 207.2 kB / 381.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.1037, allocations: 56.36 kB / 381.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.1039, allocations: 83.64 kB / 381.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.104, allocations: 79.5 kB / 382 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.1041, allocations: 12 kB / 382 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-05/0.1041, allocations: 19.98 kB / 382 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.1042, allocations: 35.8 kB / 382.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.1042, allocations: 67.59 kB / 382.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1045, allocations: 175.2 kB / 382.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1045, allocations: 3.938 kB / 382.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1045, allocations: 4 kB / 382.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1045, allocations: 0 / 382.3 MB, free: 12.21 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.0006896/0.1052, allocations: 437.1 kB / 382.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1052, allocations: 8.031 kB / 382.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.1055, allocations: 44.77 kB / 382.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.1058, allocations: 182.1 kB / 383 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1058, allocations: 16.38 kB / 383 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.1058, allocations: 12.38 kB / 383 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.1061, allocations: 164.5 kB / 383.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1061, allocations: 7.984 kB / 383.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1061, allocations: 7.938 kB / 383.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1061, allocations: 4 kB / 383.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.1064, allocations: 87.89 kB / 383.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008654/0.1072, allocations: 0.5394 MB / 383.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.1075, allocations: 119.8 kB / 383.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1076, allocations: 62.67 kB / 384 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.1076, allocations: 3.938 kB / 384 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1076, allocations: 38.56 kB / 384 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.1076, allocations: 0 / 384 MB, free: 10.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004867/0.1081, allocations: 173.4 kB / 384.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.1082, allocations: 106.8 kB / 384.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1084, allocations: 191.2 kB / 384.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1084, allocations: 29.7 kB / 384.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.1085, allocations: 144 kB / 384.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/0.1086, allocations: 51.56 kB / 384.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.1086, allocations: 41.69 kB / 384.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1088, allocations: 326.8 kB / 385.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1089, allocations: 39.97 kB / 385.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.109, allocations: 90.86 kB / 385.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.1093, allocations: 146.7 kB / 385.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1093, allocations: 0 / 385.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003449/0.1096, allocations: 177.8 kB / 385.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1096, allocations: 8.188 kB / 385.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1096, allocations: 4 kB / 385.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.1097, allocations: 11.92 kB / 385.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1098, allocations: 28.05 kB / 385.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.1098, allocations: 11.94 kB / 385.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.1099, allocations: 15.94 kB / 385.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.11, allocations: 8 kB / 385.6 MB, free: 8.656 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.0001077/0.1101, allocations: 125.8 kB / 385.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.1101, allocations: 19.84 kB / 385.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.1105, allocations: 198.5 kB / 385.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1105, allocations: 0 / 385.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1105, allocations: 4 kB / 385.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1105, allocations: 0 / 385.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.1109, allocations: 189.2 kB / 386.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1109, allocations: 0 / 386.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.1111, allocations: 31.97 kB / 386.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.1111, allocations: 7.938 kB / 386.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1111, allocations: 0 / 386.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1111, allocations: 4 kB / 386.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1111, allocations: 8.031 kB / 386.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.1117, allocations: 477 kB / 386.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.1117, allocations: 27.72 kB / 386.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.1118, allocations: 8.062 kB / 386.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.1119, allocations: 8 kB / 386.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.112, allocations: 11.97 kB / 386.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.112, allocations: 4 kB / 386.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.1121, allocations: 143.2 kB / 386.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1121, allocations: 4 kB / 386.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000352/0.1125, allocations: 39.89 kB / 386.9 MB, free: 7.309 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.0001106/0.1126, allocations: 99.34 kB / 387 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.1129, allocations: 115.8 kB / 387.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1129, allocations: 0 / 387.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.1131, allocations: 64.27 kB / 387.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.1135, allocations: 26.7 kB / 387.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.1147, allocations: 0.6118 MB / 387.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.1149, allocations: 133.7 kB / 387.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.52e-05/0.1149, allocations: 17.47 kB / 387.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.115, allocations: 20.5 kB / 387.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.115, allocations: 4 kB / 388 MB, free: 6.168 MB / 350.1 MB Notification: Performance of Templates: time 0.004519/0.1195, allocations: 1.123 MB / 389.1 MB, free: 5.043 MB / 350.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/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.241932531935163]