Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.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.0009696/0.0009696, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001721/0.001721, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.056/1.056, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.02708/0.02708, allocations: 7.123 MB / 267.4 MB, free: 5.938 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.SimpleDiodeCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic") translateModel(ChaoticCircuits.Test.SimpleDiodeCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 286.3 MB, free: 2.996 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.521e-05, allocations: 5.828 kB / 286.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleDiodeCharacteristic): time 0.002836/0.002861, allocations: 2.154 MB / 288.5 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009442/0.003805, allocations: 494.6 kB / 289 MB, free: 340 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.003915, allocations: 4 kB / 289 MB, free: 336 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.004046, allocations: 19.78 kB / 289 MB, free: 316 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.804e-05/0.004144, allocations: 35.7 kB / 289 MB, free: 280 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.004361, allocations: 39.83 kB / 289 MB, free: 240 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.004556, allocations: 155.2 kB / 289.2 MB, free: 84 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.004679, allocations: 29.94 kB / 289.2 MB, free: 56 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1259/0.1306, allocations: 79.05 kB / 289.3 MB, free: 19.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1307, allocations: 45.47 kB / 289.4 MB, free: 19.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1308, allocations: 12.09 kB / 289.4 MB, free: 19.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.911e-05/0.1308, allocations: 11.75 kB / 289.4 MB, free: 19.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.1308, allocations: 30.09 kB / 289.4 MB, free: 19.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.1309, allocations: 44.92 kB / 289.4 MB, free: 19.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1311, allocations: 96.8 kB / 289.5 MB, free: 19.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1311, allocations: 0 / 289.5 MB, free: 19.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1311, allocations: 0.625 kB / 289.5 MB, free: 19.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1311, allocations: 1.094 kB / 289.5 MB, free: 19.37 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004113/0.1315, allocations: 333.8 kB / 289.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1315, allocations: 10.36 kB / 289.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.1316, allocations: 18.55 kB / 289.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.1317, allocations: 133.8 kB / 290 MB, free: 18.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1317, allocations: 11.98 kB / 290 MB, free: 18.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.1318, allocations: 11.09 kB / 290.1 MB, free: 18.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1319, allocations: 125.5 kB / 290.2 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1319, allocations: 1.375 kB / 290.2 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.132, allocations: 6.875 kB / 290.2 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.132, allocations: 4.438 kB / 290.2 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.945e-05/0.132, allocations: 32.31 kB / 290.2 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.1325, allocations: 359.2 kB / 290.6 MB, free: 18.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.1326, allocations: 45.73 kB / 290.6 MB, free: 18.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.1327, allocations: 15.62 kB / 290.6 MB, free: 18.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.1327, allocations: 2.625 kB / 290.6 MB, free: 18.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.1327, allocations: 33.52 kB / 290.7 MB, free: 18.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1327, allocations: 2.406 kB / 290.7 MB, free: 18.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003601/0.1331, allocations: 121.2 kB / 290.8 MB, free: 18.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.605e-05/0.1331, allocations: 56.41 kB / 290.8 MB, free: 18.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.1332, allocations: 139.7 kB / 291 MB, free: 18.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.1332, allocations: 29.8 kB / 291 MB, free: 18.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.1332, allocations: 125 kB / 291.1 MB, free: 18.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.909e-06/0.1332, allocations: 14.75 kB / 291.1 MB, free: 18.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.1333, allocations: 28.55 kB / 291.2 MB, free: 18.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.835e-05/0.1333, allocations: 319.8 kB / 291.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.1333, allocations: 7.234 kB / 291.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-05/0.1333, allocations: 26.44 kB / 291.5 MB, free: 17.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.887e-05/0.1334, allocations: 41.23 kB / 291.6 MB, free: 17.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1334, allocations: 0 / 291.6 MB, free: 17.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001501/0.1335, allocations: 91.64 kB / 291.6 MB, free: 17.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1335, allocations: 5.156 kB / 291.6 MB, free: 17.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1335, allocations: 1.094 kB / 291.7 MB, free: 17.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.1338, allocations: 49.89 kB / 291.7 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.441e-05/0.1338, allocations: 10.86 kB / 291.7 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007821/0.1346, allocations: 1.239 MB / 292.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.1346, allocations: 13.14 kB / 293 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1346, allocations: 3.188 kB / 293 MB, free: 16.64 MB / 266.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: 0 () * 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: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 6.1e-05/0.1347, allocations: 115.6 kB / 293.1 MB, free: 16.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.1347, allocations: 6.062 kB / 293.1 MB, free: 16.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.1349, allocations: 90.56 kB / 293.2 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1349, allocations: 1.156 kB / 293.2 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1349, allocations: 0.6562 kB / 293.2 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1349, allocations: 1.812 kB / 293.2 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.135, allocations: 98.03 kB / 293.3 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.135, allocations: 1.156 kB / 293.3 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.135, allocations: 8.562 kB / 293.3 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.1352, allocations: 48.08 kB / 293.3 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1352, allocations: 4.547 kB / 293.3 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005361/0.1357, allocations: 1.255 MB / 294.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1357, allocations: 0.5 kB / 294.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1358, allocations: 179.4 kB / 294.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.1358, allocations: 16.83 kB / 294.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.1359, allocations: 2.125 kB / 294.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.1359, allocations: 6.688 kB / 294.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.136, allocations: 11.73 kB / 294.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.136, allocations: 5.656 kB / 294.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.225e-05/0.136, allocations: 32 kB / 294.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.136, allocations: 0 / 294.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.1362, allocations: 30.19 kB / 294.9 MB, free: 15.07 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 7.168e-05/0.1363, allocations: 74.06 kB / 294.9 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.1365, allocations: 160.4 kB / 295.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1365, allocations: 2.188 kB / 295.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.1366, allocations: 145 kB / 295.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.1367, allocations: 18.16 kB / 295.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.1373, allocations: 263.2 kB / 295.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.1374, allocations: 66.16 kB / 295.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.7e-05/0.1374, allocations: 9.281 kB / 295.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.1375, allocations: 61.08 kB / 295.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1375, allocations: 0 / 295.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of Templates: time 0.004517/0.142, allocations: 1.583 MB / 297.2 MB, free: 14.36 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.sim & ./ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7301762509159744]