Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestEMF.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.0009035/0.0009035, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009435/0.0009435, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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.963/0.963, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo): time 0.02925/0.02925, allocations: 7.112 MB / 267.4 MB, free: 5.914 MB / 250.7 MB " [Timeout remaining time 180] Using package ChaoticCircuits with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.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(ChaoticCircuits.Test.TestEMF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestEMF") translateModel(ChaoticCircuits.Test.TestEMF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestEMF") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 339.5 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.477e-05, allocations: 2.312 kB / 339.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.00216/0.002184, allocations: 2.102 MB / 341.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002465/0.002431, allocations: 99.61 kB / 341.7 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.002497, allocations: 4 kB / 341.7 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.61e-05/0.002543, allocations: 15.8 kB / 341.7 MB, free: 7.371 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.002695, allocations: 47.64 kB / 341.8 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.63e-05/0.002751, allocations: 23.95 kB / 341.8 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.002837, allocations: 135.3 kB / 341.9 MB, free: 7.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.766e-05/0.002935, allocations: 33.22 kB / 342 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.423e-05/0.003009, allocations: 71.83 kB / 342 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.003078, allocations: 43.88 kB / 342.1 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.003096, allocations: 12 kB / 342.1 MB, free: 7.012 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.495e-05/0.003111, allocations: 12 kB / 342.1 MB, free: 7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.003132, allocations: 31.84 kB / 342.1 MB, free: 6.969 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.003159, allocations: 31.92 kB / 342.2 MB, free: 6.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.003273, allocations: 95.66 kB / 342.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.003274, allocations: 0 / 342.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003275, allocations: 0 / 342.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.003278, allocations: 0 / 342.3 MB, free: 6.844 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0003037/0.003581, allocations: 448.1 kB / 342.7 MB, free: 6.371 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.00361, allocations: 8.031 kB / 342.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.003647, allocations: 24.84 kB / 342.7 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.33e-05/0.003741, allocations: 144.4 kB / 342.9 MB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.00375, allocations: 8.375 kB / 342.9 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.003767, allocations: 20.25 kB / 342.9 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.003875, allocations: 107.7 kB / 343 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.003884, allocations: 4.172 kB / 343 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.003893, allocations: 8.125 kB / 343 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.003898, allocations: 4 kB / 343 MB, free: 6.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.997e-05/0.003938, allocations: 31.97 kB / 343 MB, free: 5.984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.004272, allocations: 427 kB / 343.5 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.466e-05/0.004336, allocations: 51.03 kB / 343.5 MB, free: 5.473 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.004353, allocations: 19.69 kB / 343.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.004361, allocations: 0 / 343.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.04e-05/0.004371, allocations: 45.36 kB / 343.6 MB, free: 5.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 6.21e-07/0.004372, allocations: 0 / 343.6 MB, free: 5.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001131/0.004485, allocations: 77.66 kB / 343.7 MB, free: 5.312 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.004503, allocations: 59.39 kB / 343.7 MB, free: 5.242 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.751e-05/0.004551, allocations: 181.9 kB / 343.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.004556, allocations: 25.7 kB / 343.9 MB, free: 5.016 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.004597, allocations: 172.9 kB / 344.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.00461, allocations: 31.72 kB / 344.1 MB, free: 4.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.004636, allocations: 27.38 kB / 344.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.059e-05/0.004677, allocations: 0.4962 MB / 344.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.00469, allocations: 8 kB / 344.6 MB, free: 4.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.004716, allocations: 54.41 kB / 344.7 MB, free: 4.188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.472e-05/0.004761, allocations: 74.34 kB / 344.8 MB, free: 4.094 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004762, allocations: 0 / 344.8 MB, free: 4.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.492e-05/0.004837, allocations: 93.61 kB / 344.9 MB, free: 3.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.004847, allocations: 11.94 kB / 344.9 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.00485, allocations: 0 / 344.9 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.004858, allocations: 4 kB / 344.9 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.004928, allocations: 27.92 kB / 344.9 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.00493, allocations: 3.938 kB / 344.9 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.004958, allocations: 4 kB / 344.9 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.004964, allocations: 4 kB / 344.9 MB, free: 3.941 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 12 * 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 4.27e-05/0.005007, allocations: 168.5 kB / 345.1 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.005023, allocations: 7.953 kB / 345.1 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.005046, allocations: 16.41 kB / 345.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.005049, allocations: 4 kB / 345.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.00505, allocations: 0 / 345.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.005053, allocations: 0 / 345.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.352e-05/0.005147, allocations: 129.2 kB / 345.2 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.005147, allocations: 0 / 345.2 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.0052, allocations: 23.94 kB / 345.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.005201, allocations: 4 kB / 345.3 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.005207, allocations: 3.984 kB / 345.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.005209, allocations: 0 / 345.3 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.00521, allocations: 7.938 kB / 345.3 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.005314, allocations: 219.9 kB / 345.5 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.005323, allocations: 7.953 kB / 345.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.005333, allocations: 3.984 kB / 345.5 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.472e-05/0.005368, allocations: 4 kB / 345.5 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.005392, allocations: 11.86 kB / 345.5 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.005396, allocations: 4 kB / 345.5 MB, free: 3.281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.358e-05/0.00542, allocations: 139.2 kB / 345.7 MB, free: 3.145 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00542, allocations: 0 / 345.7 MB, free: 3.145 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.005578, allocations: 27.89 kB / 345.7 MB, free: 3.117 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (emf.phi,inertia.w) * 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 (7): * Single equations (assignments): 7 * 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 5.032e-05/0.005629, allocations: 99.5 kB / 345.8 MB, free: 3.012 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.119e-05/0.0057, allocations: 43.55 kB / 345.8 MB, free: 2.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.005701, allocations: 0 / 345.8 MB, free: 2.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/0.005722, allocations: 23.67 kB / 345.8 MB, free: 2.938 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.005901, allocations: 8 kB / 345.9 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.006365, allocations: 330.4 kB / 346.2 MB, free: 2.582 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.456e-05/0.006389, allocations: 67.34 kB / 346.2 MB, free: 2.496 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.256e-05/0.006412, allocations: 4.484 kB / 346.2 MB, free: 2.492 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.006467, allocations: 78.2 kB / 346.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of SimCode: time 1.443e-06/0.006469, allocations: 0 / 346.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of Templates: time 0.002171/0.00864, allocations: 0.8596 MB / 347.2 MB, free: 1.578 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.TestEMF.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestEMF.sim & (cd run_cvode && ../ChaoticCircuits_ChaoticCircuits.Test.TestEMF -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe 2>&1) [Timeout 240] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestEMF_gbode.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestEMF_gbode.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestEMF_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestEMF_gbode.sim & (cd run_gbode && ../ChaoticCircuits_ChaoticCircuits.Test.TestEMF -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ChaoticCircuits_ChaoticCircuits.Test.TestEMF_gbode.pipe 2>&1) [Timeout 240] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestEMF_ida.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestEMF_ida.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestEMF_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestEMF_ida.sim & (cd run_ida && ../ChaoticCircuits_ChaoticCircuits.Test.TestEMF -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ChaoticCircuits_ChaoticCircuits.Test.TestEMF_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.754489626735449]