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.001325/0.001325, allocations: 68.08 kB / 21.24 MB, free: 404 kB / 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.001429/0.001429, allocations: 156.3 kB / 24.48 MB, free: 3.461 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.41/1.41, allocations: 173.4 MB / 201 MB, free: 12.71 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.001558/0.001558, allocations: 46.3 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09499, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003225/0.09821, allocations: 1.895 MB / 373.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.0992, allocations: 0.5415 MB / 374 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.0993, allocations: 7.938 kB / 374 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.09947, allocations: 47.53 kB / 374 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.605e-05/0.09956, allocations: 31.66 kB / 374.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.09978, allocations: 63.86 kB / 374.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.1, allocations: 203.2 kB / 374.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1002, allocations: 52.44 kB / 374.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1003, allocations: 87.64 kB / 374.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.1005, allocations: 71.56 kB / 374.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.1005, allocations: 12 kB / 374.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.45e-05/0.1005, allocations: 12 kB / 374.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.1006, allocations: 39.84 kB / 374.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.1007, allocations: 67.59 kB / 374.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1009, allocations: 171.1 kB / 374.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1009, allocations: 0 / 374.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1009, allocations: 0 / 374.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1009, allocations: 0 / 374.8 MB, free: 4.051 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.0007489/0.1017, allocations: 433.2 kB / 375.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1017, allocations: 8.922 kB / 375.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.1018, allocations: 28.78 kB / 375.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.102, allocations: 178 kB / 375.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1021, allocations: 12.38 kB / 375.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.1021, allocations: 15.94 kB / 375.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.1024, allocations: 168.1 kB / 375.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.1025, allocations: 0 / 375.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.1025, allocations: 4 kB / 375.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1025, allocations: 4 kB / 375.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.1027, allocations: 87.95 kB / 375.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.1036, allocations: 0.5316 MB / 376.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1039, allocations: 135.8 kB / 376.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.104, allocations: 54.67 kB / 376.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.104, allocations: 4 kB / 376.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.1041, allocations: 42.5 kB / 376.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.1041, allocations: 0 / 376.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005235/0.1046, allocations: 173.4 kB / 376.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.1047, allocations: 106.8 kB / 376.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1049, allocations: 191.1 kB / 377 MB, free: 1.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1049, allocations: 25.7 kB / 377 MB, free: 1.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.105, allocations: 139.9 kB / 377.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.105, allocations: 51.53 kB / 377.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.1051, allocations: 37.83 kB / 377.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1053, allocations: 330.8 kB / 377.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.1054, allocations: 39.92 kB / 377.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.1055, allocations: 94.83 kB / 377.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1058, allocations: 146.7 kB / 377.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1058, allocations: 4 kB / 377.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003593/0.1062, allocations: 169.4 kB / 378 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1062, allocations: 8 kB / 378 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1062, allocations: 0 / 378 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1062, allocations: 4.188 kB / 378 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.1064, allocations: 39.91 kB / 378.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1064, allocations: 4 kB / 378.1 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.1065, allocations: 16.52 kB / 378.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.1065, allocations: 7.984 kB / 378.1 MB, free: 0.5391 MB / 334.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.0001219/0.1066, allocations: 137.7 kB / 378.2 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.1067, allocations: 15.91 kB / 378.2 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.1071, allocations: 182.7 kB / 378.4 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1071, allocations: 8.031 kB / 378.4 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1071, allocations: 4 kB / 378.4 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.1071, allocations: 7.984 kB / 378.4 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.1076, allocations: 189.1 kB / 378.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1076, allocations: 4 kB / 378.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.1078, allocations: 39.91 kB / 378.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1078, allocations: 0 / 378.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1078, allocations: 7.938 kB / 378.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1078, allocations: 0 / 378.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.1078, allocations: 4 kB / 378.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.1084, allocations: 473.7 kB / 379.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.1084, allocations: 19.86 kB / 379.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.1085, allocations: 4.062 kB / 379.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.1087, allocations: 7.984 kB / 379.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.1087, allocations: 15.98 kB / 379.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1087, allocations: 7.984 kB / 379.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1088, allocations: 140.4 kB / 379.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1088, allocations: 0 / 379.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.1092, allocations: 35.94 kB / 379.4 MB, free: 15.19 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.0001056/0.1093, allocations: 107.1 kB / 379.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.1096, allocations: 118.8 kB / 379.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1096, allocations: 0 / 379.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1098, allocations: 63.84 kB / 379.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1102, allocations: 16.16 kB / 379.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1113, allocations: 0.6198 MB / 380.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.1114, allocations: 137.7 kB / 380.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.315e-05/0.1115, allocations: 17.48 kB / 380.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.1116, allocations: 20.5 kB / 380.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1116, allocations: 0 / 380.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Templates: time 0.004282/0.1158, allocations: 1.107 MB / 381.6 MB, free: 12.94 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.314202566980384]