Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair.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.0009425/0.0009425, allocations: 77.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.001065/0.001065, 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 1.002/1.002, 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.02632/0.02632, allocations: 7.12 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.TestZenerDiodePair,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair") translateModel(ChaoticCircuits.Test.TestZenerDiodePair,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 339.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.364e-05, allocations: 4.703 kB / 339.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestZenerDiodePair): time 0.002683/0.002707, allocations: 2.53 MB / 342 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008917/0.003599, allocations: 0.6387 MB / 342.7 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.003708, allocations: 7.938 kB / 342.7 MB, free: 7.219 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.003831, allocations: 31.66 kB / 342.7 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.003938, allocations: 63.36 kB / 342.8 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.004211, allocations: 103.8 kB / 342.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.004426, allocations: 306.8 kB / 343.2 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.004564, allocations: 60.48 kB / 343.2 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.004729, allocations: 171.7 kB / 343.4 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.004851, allocations: 111.7 kB / 343.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.00489, allocations: 28 kB / 343.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.175e-05/0.004922, allocations: 28 kB / 343.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.004959, allocations: 67.73 kB / 343.6 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.036e-05/0.005019, allocations: 87.8 kB / 343.7 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.005213, allocations: 215.3 kB / 343.9 MB, free: 5.969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005216, allocations: 0 / 343.9 MB, free: 5.969 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005216, allocations: 0 / 343.9 MB, free: 5.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.00522, allocations: 0 / 343.9 MB, free: 5.969 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006898/0.005909, allocations: 0.5931 MB / 344.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.005942, allocations: 16.02 kB / 344.5 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.006002, allocations: 32.8 kB / 344.6 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.006164, allocations: 196.1 kB / 344.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.006184, allocations: 16.38 kB / 344.8 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.006207, allocations: 16.38 kB / 344.8 MB, free: 5.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.006526, allocations: 234.1 kB / 345 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.006536, allocations: 7.922 kB / 345 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.006556, allocations: 12 kB / 345 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.006562, allocations: 4 kB / 345 MB, free: 4.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.00668, allocations: 72.84 kB / 345.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007815/0.007462, allocations: 1.021 MB / 346.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.007989, allocations: 183 kB / 346.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.008086, allocations: 63.62 kB / 346.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.008105, allocations: 8 kB / 346.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.00812, allocations: 37.39 kB / 346.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.008121, allocations: 0 / 346.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.001675/0.009796, allocations: 0.5162 MB / 346.9 MB, free: 2.777 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.009814, allocations: 55.41 kB / 347 MB, free: 2.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.009898, allocations: 222.6 kB / 347.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.00991, allocations: 25.7 kB / 347.2 MB, free: 2.445 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.009964, allocations: 198.9 kB / 347.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.009985, allocations: 35.69 kB / 347.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.01004, allocations: 35.34 kB / 347.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.25e-05/0.01008, allocations: 0.4962 MB / 348 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.325e-05/0.01012, allocations: 19.98 kB / 348 MB, free: 1.641 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.467e-05/0.01018, allocations: 54.95 kB / 348.1 MB, free: 1.574 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.01028, allocations: 71.03 kB / 348.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01028, allocations: 4 kB / 348.1 MB, free: 1.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0009736/0.01126, allocations: 352.7 kB / 348.5 MB, free: 1.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.01127, allocations: 4 kB / 348.5 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01128, allocations: 4.062 kB / 348.5 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004007/0.01168, allocations: 143.5 kB / 348.6 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.01175, allocations: 19.92 kB / 348.6 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.0143, allocations: 2.388 MB / 351 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.01442, allocations: 27.94 kB / 351.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.01444, allocations: 12.05 kB / 351.1 MB, free: 14.42 MB / 282.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 (9): * Single equations (assignments): 8 * 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 9.915e-05/0.01454, allocations: 156.6 kB / 351.2 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.01458, allocations: 19.91 kB / 351.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.01462, allocations: 17.45 kB / 351.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.01462, allocations: 4 kB / 351.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01462, allocations: 3.938 kB / 351.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.01462, allocations: 0 / 351.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.01593, allocations: 0.6375 MB / 351.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.01593, allocations: 3.938 kB / 351.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.01599, allocations: 15.98 kB / 351.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.01634, allocations: 147.5 kB / 352.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.01635, allocations: 15.98 kB / 352.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.01877, allocations: 2.353 MB / 354.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.01877, allocations: 7.938 kB / 354.4 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.01984, allocations: 490.9 kB / 354.9 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.01986, allocations: 15.84 kB / 354.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.01988, allocations: 0 / 354.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.02001, allocations: 23.97 kB / 355 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.02005, allocations: 7.984 kB / 355 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.02007, allocations: 7.984 kB / 355 MB, free: 10.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.03e-05/0.02014, allocations: 165.1 kB / 355.1 MB, free: 10.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02014, allocations: 0 / 355.1 MB, free: 10.15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004065/0.02054, allocations: 75.78 kB / 355.2 MB, free: 10.07 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * 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: 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 Backend phase and start with SimCode phase: time 9.376e-05/0.02064, allocations: 91.25 kB / 355.3 MB, free: 9.977 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005615/0.0212, allocations: 318.8 kB / 355.6 MB, free: 9.645 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.0212, allocations: 0 / 355.6 MB, free: 9.645 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.02159, allocations: 277.4 kB / 355.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.02189, allocations: 36.12 kB / 355.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.02272, allocations: 414.3 kB / 356.3 MB, free: 8.871 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.52e-05/0.0228, allocations: 120.6 kB / 356.4 MB, free: 8.734 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.697e-05/0.0229, allocations: 90.19 kB / 356.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.0229, allocations: 0 / 356.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of Templates: time 0.004367/0.02727, allocations: 3.572 MB / 360.1 MB, free: 5.078 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair.sim & ./ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair > ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8079640958458185]