Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestDutyCycleGenerator.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.001003/0.001003, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001388/0.002392, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.001113/0.001113, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002602, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7895/0.7895, allocations: 158.6 MB / 171.2 MB, free: 2.488 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.123/0.9125, allocations: 49.51 MB / 220.7 MB, free: 1.352 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.005671/0.005671, allocations: 1.428 MB / 222.8 MB, free: 15.17 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001729/0.0074, allocations: 0.9562 MB / 223.8 MB, free: 14.21 MB / 234.7 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") translateModel(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.395e-05, allocations: 2.312 kB / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002516/0.00253, allocations: 1.477 MB / 226.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001702/0.0027, allocations: 100.3 kB / 226.7 MB, free: 11.34 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.002726, allocations: 0 / 226.7 MB, free: 11.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.002746, allocations: 3.938 kB / 226.7 MB, free: 11.33 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.285e-05/0.002769, allocations: 8 kB / 226.7 MB, free: 11.32 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.093e-05/0.00284, allocations: 15.86 kB / 226.7 MB, free: 11.31 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.002901, allocations: 27.88 kB / 226.7 MB, free: 11.28 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.255e-05/0.002974, allocations: 11.97 kB / 226.7 MB, free: 11.27 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.905e-05/0.003033, allocations: 15.98 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.843e-05/0.003081, allocations: 8 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.003098, allocations: 0 / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.003108, allocations: 4 kB / 226.7 MB, free: 11.24 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.003128, allocations: 3.938 kB / 226.8 MB, free: 11.24 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.003157, allocations: 11.98 kB / 226.8 MB, free: 11.23 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 6.901e-05/0.003226, allocations: 15.94 kB / 226.8 MB, free: 11.21 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.003237, allocations: 0 / 226.8 MB, free: 11.21 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003238, allocations: 0 / 226.8 MB, free: 11.21 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.003247, allocations: 0 / 226.8 MB, free: 11.21 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004045/0.003651, allocations: 248.6 kB / 227 MB, free: 10.94 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.003686, allocations: 8.031 kB / 227 MB, free: 10.93 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.003717, allocations: 4.938 kB / 227 MB, free: 10.93 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.457e-05/0.003791, allocations: 101.8 kB / 227.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.003812, allocations: 8.359 kB / 227.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.003819, allocations: 384 / 227.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.003921, allocations: 62.89 kB / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.431e-06/0.003926, allocations: 192 / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.003934, allocations: 384 / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.003938, allocations: 384 / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.776e-05/0.003966, allocations: 11.92 kB / 227.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.004168, allocations: 148.3 kB / 227.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.061e-05/0.004239, allocations: 26.61 kB / 227.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.004259, allocations: 16.8 kB / 227.4 MB, free: 10.5 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.004266, allocations: 0 / 227.4 MB, free: 10.5 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.584e-05/0.004362, allocations: 55.48 kB / 227.5 MB, free: 10.43 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.004363, allocations: 0 / 227.5 MB, free: 10.43 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.000118/0.004481, allocations: 45.62 kB / 227.5 MB, free: 10.38 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.004518, allocations: 63.33 kB / 227.6 MB, free: 10.31 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.572e-05/0.004573, allocations: 102.7 kB / 227.7 MB, free: 10.2 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.004588, allocations: 29.7 kB / 227.7 MB, free: 10.16 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.004618, allocations: 88.09 kB / 227.8 MB, free: 10.07 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.00464, allocations: 11.88 kB / 227.8 MB, free: 10.06 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.004674, allocations: 17.7 kB / 227.8 MB, free: 10.04 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.004776, allocations: 322.8 kB / 228.1 MB, free: 9.711 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.004786, allocations: 4 kB / 228.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.004811, allocations: 26.94 kB / 228.2 MB, free: 9.672 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.004853, allocations: 34.48 kB / 228.2 MB, free: 9.629 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.004855, allocations: 3.938 kB / 228.2 MB, free: 9.625 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.699e-05/0.004932, allocations: 53.62 kB / 228.2 MB, free: 9.566 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.004945, allocations: 4 kB / 228.2 MB, free: 9.562 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.00495, allocations: 0 / 228.2 MB, free: 9.562 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.00496, allocations: 7.938 kB / 228.3 MB, free: 9.555 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.005022, allocations: 12.06 kB / 228.3 MB, free: 9.543 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.005024, allocations: 0 / 228.3 MB, free: 9.543 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.923e-05/0.005054, allocations: 11.98 kB / 228.3 MB, free: 9.531 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.005058, allocations: 0 / 228.3 MB, free: 9.531 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,dutyCycleGenerator.offTime,$PRE.dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.983e-05/0.005118, allocations: 109.8 kB / 228.4 MB, free: 9.414 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.005127, allocations: 0 / 228.4 MB, free: 9.414 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/0.005189, allocations: 11.69 kB / 228.4 MB, free: 9.402 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.005192, allocations: 7.875 kB / 228.4 MB, free: 9.395 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.005193, allocations: 0 / 228.4 MB, free: 9.395 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.005198, allocations: 3.984 kB / 228.4 MB, free: 9.391 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.411e-05/0.005292, allocations: 65.91 kB / 228.5 MB, free: 9.309 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.005293, allocations: 4 kB / 228.5 MB, free: 9.305 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.005318, allocations: 7.984 kB / 228.5 MB, free: 9.297 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-06/0.005325, allocations: 3.953 kB / 228.5 MB, free: 9.293 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.005329, allocations: 4 kB / 228.5 MB, free: 9.289 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.005334, allocations: 0 / 228.5 MB, free: 9.289 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.005335, allocations: 0 / 228.5 MB, free: 9.289 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.005337, allocations: 3.938 kB / 228.5 MB, free: 9.285 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.703e-05/0.005414, allocations: 69.33 kB / 228.6 MB, free: 9.199 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.005424, allocations: 4 kB / 228.6 MB, free: 9.195 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/0.005447, allocations: 7.984 kB / 228.6 MB, free: 9.188 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.005471, allocations: 4 kB / 228.6 MB, free: 9.184 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.00548, allocations: 7.938 kB / 228.6 MB, free: 9.176 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.423e-05/0.005494, allocations: 16.78 kB / 228.6 MB, free: 9.156 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005494, allocations: 0 / 228.6 MB, free: 9.156 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.00567, allocations: 4 kB / 228.6 MB, free: 9.152 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 6.593e-05/0.005736, allocations: 72.42 kB / 228.7 MB, free: 9.074 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.005858, allocations: 23.92 kB / 228.7 MB, free: 9.051 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.005862, allocations: 0 / 228.7 MB, free: 9.051 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.407e-05/0.005906, allocations: 12.86 kB / 228.7 MB, free: 9.035 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.415e-05/0.005981, allocations: 21.25 kB / 228.7 MB, free: 9.016 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.006359, allocations: 124.4 kB / 228.9 MB, free: 8.867 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.359e-05/0.006393, allocations: 59.3 kB / 228.9 MB, free: 8.789 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.999e-05/0.006413, allocations: 0 / 228.9 MB, free: 8.789 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.006467, allocations: 59.34 kB / 229 MB, free: 8.73 MB / 234.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006467, allocations: 0 / 229 MB, free: 8.73 MB / 234.7 MB Notification: Performance of Templates: time 0.002057/0.008524, allocations: 432 kB / 229.4 MB, free: 8.312 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestDutyCycleGenerator.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestDutyCycleGenerator.pipe ; mkfifo MEV_MEV.Test.TestDutyCycleGenerator.pipe ; head -c 1048576 < MEV_MEV.Test.TestDutyCycleGenerator.pipe >> ../files/MEV_MEV.Test.TestDutyCycleGenerator.sim & (cd run_cvode && ../MEV_MEV.Test.TestDutyCycleGenerator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1) [Timeout 240] (rm -f MEV_MEV.Test.TestDutyCycleGenerator_dassl.pipe ; mkfifo MEV_MEV.Test.TestDutyCycleGenerator_dassl.pipe ; head -c 1048576 < MEV_MEV.Test.TestDutyCycleGenerator_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MEV_MEV.Test.TestDutyCycleGenerator_dassl.sim & (cd run_dassl && ../MEV_MEV.Test.TestDutyCycleGenerator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > MEV_MEV.Test.TestDutyCycleGenerator_dassl.pipe 2>&1) [Timeout 240] (rm -f MEV_MEV.Test.TestDutyCycleGenerator_gbode.pipe ; mkfifo MEV_MEV.Test.TestDutyCycleGenerator_gbode.pipe ; head -c 1048576 < MEV_MEV.Test.TestDutyCycleGenerator_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MEV_MEV.Test.TestDutyCycleGenerator_gbode.sim & (cd run_gbode && ../MEV_MEV.Test.TestDutyCycleGenerator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > MEV_MEV.Test.TestDutyCycleGenerator_gbode.pipe 2>&1) [Timeout 240] (rm -f MEV_MEV.Test.TestDutyCycleGenerator_ida.pipe ; mkfifo MEV_MEV.Test.TestDutyCycleGenerator_ida.pipe ; head -c 1048576 < MEV_MEV.Test.TestDutyCycleGenerator_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MEV_MEV.Test.TestDutyCycleGenerator_ida.sim & (cd run_ida && ../MEV_MEV.Test.TestDutyCycleGenerator -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > MEV_MEV.Test.TestDutyCycleGenerator_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.177010253071785]