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.0009376/0.0009376, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001013/0.001013, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9556/0.9556, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.027/0.027, allocations: 7.121 MB / 268.2 MB, free: 5.898 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.463e-06/1.463e-06, allocations: 0 / 339.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.088e-05, allocations: 5.125 kB / 339.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleDiodeCharacteristic): time 0.002008/0.002029, allocations: 2.106 MB / 341.6 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005952/0.002624, allocations: 490.7 kB / 342.1 MB, free: 7.801 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.002697, allocations: 0 / 342.1 MB, free: 7.801 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.002803, allocations: 23.78 kB / 342.1 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.223e-05/0.002875, allocations: 43.64 kB / 342.1 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.003016, allocations: 31.95 kB / 342.2 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.003131, allocations: 151.2 kB / 342.3 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.003226, allocations: 25.3 kB / 342.3 MB, free: 7.531 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.562e-05/0.003312, allocations: 95.72 kB / 342.4 MB, free: 7.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.003373, allocations: 39.89 kB / 342.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.003395, allocations: 12 kB / 342.5 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.003409, allocations: 12 kB / 342.5 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.003431, allocations: 31.84 kB / 342.5 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.003461, allocations: 39.92 kB / 342.6 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.003578, allocations: 103.6 kB / 342.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.00358, allocations: 0 / 342.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003581, allocations: 0 / 342.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.003584, allocations: 0 / 342.7 MB, free: 7.203 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.0003365/0.003921, allocations: 456 kB / 343.1 MB, free: 6.723 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.003951, allocations: 12.03 kB / 343.1 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.003987, allocations: 24.84 kB / 343.2 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.004094, allocations: 148.4 kB / 343.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.004103, allocations: 8.375 kB / 343.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.004115, allocations: 16.38 kB / 343.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.004241, allocations: 119.2 kB / 343.4 MB, free: 6.363 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.004248, allocations: 3.938 kB / 343.4 MB, free: 6.359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.004257, allocations: 8 kB / 343.5 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.004261, allocations: 3.938 kB / 343.5 MB, free: 6.348 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.941e-05/0.004301, allocations: 27.97 kB / 343.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.00469, allocations: 470.2 kB / 343.9 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.00482, allocations: 59.08 kB / 344 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.004839, allocations: 23.67 kB / 344 MB, free: 5.727 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.004851, allocations: 4 kB / 344 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.004865, allocations: 37.33 kB / 344.1 MB, free: 5.676 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.004866, allocations: 0 / 344.1 MB, free: 5.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003125/0.005179, allocations: 133.2 kB / 344.2 MB, free: 5.535 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.587e-05/0.005195, allocations: 55.41 kB / 344.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.384e-05/0.005259, allocations: 189.8 kB / 344.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.005267, allocations: 25.7 kB / 344.5 MB, free: 5.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.005309, allocations: 178.6 kB / 344.6 MB, free: 5.055 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.677e-06/0.005317, allocations: 23.77 kB / 344.7 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.005346, allocations: 23.38 kB / 344.7 MB, free: 5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.005384, allocations: 0.4923 MB / 345.2 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.005397, allocations: 4 kB / 345.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/0.005419, allocations: 39.05 kB / 345.2 MB, free: 4.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.005455, allocations: 50.98 kB / 345.3 MB, free: 4.379 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.005458, allocations: 0 / 345.3 MB, free: 4.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001191/0.005577, allocations: 105.2 kB / 345.4 MB, free: 4.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.005588, allocations: 6.969 kB / 345.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.005593, allocations: 0 / 345.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001593/0.005752, allocations: 51.7 kB / 345.4 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.607e-05/0.005788, allocations: 8 kB / 345.4 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006129/0.006401, allocations: 1.802 MB / 347.2 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.006436, allocations: 7.938 kB / 347.2 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.006444, allocations: 11.98 kB / 347.3 MB, free: 2.254 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 4.825e-05/0.006492, allocations: 164.6 kB / 347.4 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.006512, allocations: 11.95 kB / 347.4 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.006613, allocations: 93.69 kB / 347.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006615, allocations: 4 kB / 347.5 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.006616, allocations: 0 / 347.5 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.00662, allocations: 3.984 kB / 347.5 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.557e-05/0.006705, allocations: 125.2 kB / 347.6 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006707, allocations: 3.938 kB / 347.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.006724, allocations: 15.92 kB / 347.7 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.006827, allocations: 39.66 kB / 347.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.006832, allocations: 0 / 347.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005087/0.00734, allocations: 1.821 MB / 349.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.007341, allocations: 4.031 kB / 349.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.007488, allocations: 243.5 kB / 349.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.007499, allocations: 12.03 kB / 349.8 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.007507, allocations: 4 kB / 349.8 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.007556, allocations: 15.91 kB / 349.8 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.007587, allocations: 7.984 kB / 349.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.007592, allocations: 0 / 349.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.959e-05/0.007641, allocations: 143.2 kB / 349.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007642, allocations: 0 / 349.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.007821, allocations: 39.95 kB / 350 MB, free: 15.32 MB / 282.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.272e-05/0.007893, allocations: 91.25 kB / 350.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.008078, allocations: 216.5 kB / 350.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.00808, allocations: 0 / 350.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.456e-05/0.008164, allocations: 201.5 kB / 350.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.008347, allocations: 19.92 kB / 350.5 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.008843, allocations: 290.2 kB / 350.8 MB, free: 14.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.82e-05/0.008901, allocations: 93.31 kB / 350.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.008971, allocations: 86.19 kB / 351 MB, free: 14.24 MB / 282.7 MB Notification: Performance of SimCode: time 4.7e-07/0.008972, allocations: 0 / 351 MB, free: 14.24 MB / 282.7 MB Notification: Performance of Templates: time 0.002338/0.01131, allocations: 1.937 MB / 352.9 MB, free: 12.31 MB / 282.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 > ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.769080077763647]