Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.SSVTest.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.0006969/0.0006969, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001756, 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.0007423/0.0007423, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001752, 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 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 0.9824/0.9824, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08175/1.064, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.02211/0.02211, allocations: 2.247 MB / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005841/0.02796, allocations: 1.429 MB / 247.8 MB, free: 11.07 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) 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(ExternData.Examples.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest") translateModel(ExternData.Examples.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 249.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.791e-05, allocations: 2.312 kB / 249.1 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002373/0.002391, allocations: 1.761 MB / 250.9 MB, free: 8 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00501/0.007401, allocations: 1.922 MB / 252.8 MB, free: 6.066 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.007461, allocations: 0 / 252.8 MB, free: 6.066 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:147:3-177:14:writable] Warning: Pure function 'ExternData.SSVFile' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0005225/0.007984, allocations: 161.9 kB / 253 MB, free: 5.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.008115, allocations: 75.67 kB / 253 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.008294, allocations: 79.66 kB / 253.1 MB, free: 5.758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.008426, allocations: 83.72 kB / 253.2 MB, free: 5.676 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.008493, allocations: 7.984 kB / 253.2 MB, free: 5.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.008596, allocations: 55.91 kB / 253.3 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.008715, allocations: 31.89 kB / 253.3 MB, free: 5.582 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.008733, allocations: 8 kB / 253.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.009106, allocations: 267.5 kB / 253.6 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.009154, allocations: 15.94 kB / 253.6 MB, free: 5.297 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.009192, allocations: 20 kB / 253.6 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.00952, allocations: 239.3 kB / 253.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-05/0.009535, allocations: 0 / 253.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.009535, allocations: 0 / 253.8 MB, free: 5.043 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.009545, allocations: 0 / 253.8 MB, free: 5.043 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005184/0.01006, allocations: 389.3 kB / 254.2 MB, free: 4.633 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.01009, allocations: 8.031 kB / 254.2 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.01014, allocations: 12.92 kB / 254.2 MB, free: 4.613 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.01028, allocations: 129.6 kB / 254.3 MB, free: 4.461 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-06/0.01029, allocations: 4.375 kB / 254.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.0103, allocations: 8.375 kB / 254.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.01042, allocations: 117.2 kB / 254.5 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.01043, allocations: 3.938 kB / 254.5 MB, free: 4.309 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.01044, allocations: 4 kB / 254.5 MB, free: 4.305 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.01044, allocations: 0 / 254.5 MB, free: 4.305 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/0.01049, allocations: 60.44 kB / 254.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.01066, allocations: 168 kB / 254.7 MB, free: 4.055 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.416e-05/0.01074, allocations: 82.91 kB / 254.8 MB, free: 3.949 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.01077, allocations: 55.42 kB / 254.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.01079, allocations: 4 kB / 254.8 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.01091, allocations: 151.4 kB / 255 MB, free: 3.699 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.01091, allocations: 0 / 255 MB, free: 3.699 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001721/0.01108, allocations: 189.5 kB / 255.2 MB, free: 3.488 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.01115, allocations: 199.8 kB / 255.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.01123, allocations: 133.5 kB / 255.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.01124, allocations: 25.7 kB / 255.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.01127, allocations: 88.09 kB / 255.6 MB, free: 2.988 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.0113, allocations: 35.7 kB / 255.7 MB, free: 2.953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.01133, allocations: 21.83 kB / 255.7 MB, free: 2.926 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.01141, allocations: 330.8 kB / 256 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.26e-05/0.01144, allocations: 44.52 kB / 256 MB, free: 2.543 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.85e-05/0.01148, allocations: 59.34 kB / 256.1 MB, free: 2.473 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.929e-05/0.01156, allocations: 123.8 kB / 256.2 MB, free: 2.332 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01156, allocations: 3.938 kB / 256.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001209/0.01169, allocations: 139.8 kB / 256.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/0.01173, allocations: 37.7 kB / 256.4 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.01174, allocations: 7.938 kB / 256.4 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.01175, allocations: 0 / 256.4 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.01183, allocations: 16.02 kB / 256.4 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.01183, allocations: 0 / 256.4 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.811e-05/0.01187, allocations: 7.953 kB / 256.4 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.01188, allocations: 4 kB / 256.4 MB, free: 2.094 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 9.074e-05/0.01197, allocations: 154.2 kB / 256.6 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.01199, allocations: 15.92 kB / 256.6 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.01202, allocations: 12.44 kB / 256.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01202, allocations: 4 kB / 256.6 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.01203, allocations: 4.062 kB / 256.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01203, allocations: 0 / 256.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.841e-05/0.01211, allocations: 89.86 kB / 256.7 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.01211, allocations: 0 / 256.7 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.01214, allocations: 15.94 kB / 256.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.01215, allocations: 7.891 kB / 256.7 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01215, allocations: 7.938 kB / 256.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.01216, allocations: 0 / 256.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01216, allocations: 3.984 kB / 256.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01216, allocations: 7.938 kB / 256.7 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.0123, allocations: 190.9 kB / 256.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.01232, allocations: 11.94 kB / 256.9 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.68e-05/0.01235, allocations: 11.98 kB / 257 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.01237, allocations: 0 / 257 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-06/0.01238, allocations: 4 kB / 257 MB, free: 1.496 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.513e-05/0.0124, allocations: 24.84 kB / 257 MB, free: 1.469 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0124, allocations: 0 / 257 MB, free: 1.469 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.01261, allocations: 87.72 kB / 257.1 MB, free: 1.383 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.001306/0.01391, allocations: 0.6243 MB / 257.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.0141, allocations: 178.8 kB / 257.9 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.0141, allocations: 7.938 kB / 257.9 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.01419, allocations: 129.9 kB / 258 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.01432, allocations: 87.44 kB / 258.1 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.01472, allocations: 248.7 kB / 258.3 MB, free: 240 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.009e-05/0.01475, allocations: 63.34 kB / 258.4 MB, free: 156 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.94e-05/0.01478, allocations: 4 kB / 258.4 MB, free: 152 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.01487, allocations: 89.25 kB / 258.5 MB, free: 64 kB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01487, allocations: 0 / 258.5 MB, free: 64 kB / 250.7 MB Notification: Performance of Templates: time 0.00434/0.01921, allocations: 3.348 MB / 261.8 MB, free: 12.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.SSVTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.SSVTest.pipe ; mkfifo ExternData_ExternData.Examples.SSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.SSVTest.pipe >> ../files/ExternData_ExternData.Examples.SSVTest.sim & (cd run_cvode && ../ExternData_ExternData.Examples.SSVTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ExternData_ExternData.Examples.SSVTest.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.SSVTest_dassl.pipe ; mkfifo ExternData_ExternData.Examples.SSVTest_dassl.pipe ; head -c 1048576 < ExternData_ExternData.Examples.SSVTest_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.SSVTest_dassl.sim & (cd run_dassl && ../ExternData_ExternData.Examples.SSVTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > ExternData_ExternData.Examples.SSVTest_dassl.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.SSVTest_gbode.pipe ; mkfifo ExternData_ExternData.Examples.SSVTest_gbode.pipe ; head -c 1048576 < ExternData_ExternData.Examples.SSVTest_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.SSVTest_gbode.sim & (cd run_gbode && ../ExternData_ExternData.Examples.SSVTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ExternData_ExternData.Examples.SSVTest_gbode.pipe 2>&1) [Timeout 240] (rm -f ExternData_ExternData.Examples.SSVTest_ida.pipe ; mkfifo ExternData_ExternData.Examples.SSVTest_ida.pipe ; head -c 1048576 < ExternData_ExternData.Examples.SSVTest_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ExternData_ExternData.Examples.SSVTest_ida.sim & (cd run_ida && ../ExternData_ExternData.Examples.SSVTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ExternData_ExternData.Examples.SSVTest_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6728877685964108]