Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.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.001136/0.001136, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001851/0.002987, allocations: 435.8 kB / 10.33 MB, free: 368 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.001287/0.001287, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002871, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08809/1.095, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.02551/0.02551, allocations: 7.114 MB / 251.1 MB, free: 7.859 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003817/0.02933, allocations: 2.83 MB / 253.9 MB, free: 5.023 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.ChuasCircuit.IdealCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit") translateModel(ChaoticCircuits.ChuasCircuit.IdealCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 255.2 MB, free: 3.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.637e-06/9.78e-06, allocations: 2.312 kB / 255.2 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasCircuit.IdealCircuit): time 0.002383/0.002393, allocations: 3.038 MB / 258.2 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.003811, allocations: 1.304 MB / 259.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.875e-05/0.003909, allocations: 4 kB / 259.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.004276, allocations: 270.3 kB / 259.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.004398, allocations: 131 kB / 259.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.004501, allocations: 75.89 kB / 260 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.004797, allocations: 458 kB / 260.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.004947, allocations: 93.95 kB / 260.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.005186, allocations: 314.5 kB / 260.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.005328, allocations: 151.6 kB / 261 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.005369, allocations: 44 kB / 261 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.484e-05/0.005403, allocations: 48 kB / 261.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.005447, allocations: 67.81 kB / 261.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.005e-05/0.005527, allocations: 111.8 kB / 261.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.005743, allocations: 259.1 kB / 261.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.284e-05/0.005756, allocations: 0 / 261.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005757, allocations: 0 / 261.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.005771, allocations: 0 / 261.5 MB, free: 13.39 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006702/0.006441, allocations: 0.6318 MB / 262.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.006472, allocations: 12.58 kB / 262.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.006531, allocations: 52.83 kB / 262.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.006745, allocations: 217.3 kB / 262.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.00677, allocations: 28.86 kB / 262.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.006799, allocations: 24.38 kB / 262.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.006999, allocations: 216 kB / 262.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.00701, allocations: 7.922 kB / 262.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.007025, allocations: 12 kB / 262.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.007032, allocations: 4 kB / 262.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.427e-05/0.007116, allocations: 63.41 kB / 262.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006917/0.007808, allocations: 0.6457 MB / 263.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.007992, allocations: 114.5 kB / 263.5 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.724e-05/0.00809, allocations: 84.56 kB / 263.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.008102, allocations: 4 kB / 263.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.008123, allocations: 34.5 kB / 263.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.008125, allocations: 4 kB / 263.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001628/0.008287, allocations: 113.9 kB / 263.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.008315, allocations: 59.33 kB / 263.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.008474, allocations: 263 kB / 264.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.008486, allocations: 25.7 kB / 264.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.008549, allocations: 168.9 kB / 264.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.008583, allocations: 63.42 kB / 264.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.008624, allocations: 37.69 kB / 264.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.008696, allocations: 334.8 kB / 264.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.008723, allocations: 19.98 kB / 264.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.883e-05/0.008761, allocations: 49.62 kB / 264.8 MB, free: 9.961 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.933e-05/0.008831, allocations: 76.59 kB / 264.8 MB, free: 9.883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008833, allocations: 4 kB / 264.8 MB, free: 9.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001024/0.008935, allocations: 105.6 kB / 264.9 MB, free: 9.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.008946, allocations: 4 kB / 264.9 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.008951, allocations: 4 kB / 264.9 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.008961, allocations: 0 / 264.9 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.009177, allocations: 75.92 kB / 265 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.009182, allocations: 11.92 kB / 265 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.009247, allocations: 15.89 kB / 265 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.009254, allocations: 4 kB / 265 MB, free: 9.656 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 7.339e-05/0.009327, allocations: 121.7 kB / 265.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.009355, allocations: 23.97 kB / 265.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.009387, allocations: 30.14 kB / 265.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.00939, allocations: 0 / 265.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.009391, allocations: 0 / 265.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.009394, allocations: 0 / 265.2 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.009699, allocations: 374.3 kB / 265.6 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.0097, allocations: 0 / 265.6 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.00985, allocations: 63.89 kB / 265.6 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.009876, allocations: 23.8 kB / 265.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.009877, allocations: 0 / 265.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.009886, allocations: 3.984 kB / 265.7 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.009888, allocations: 3.984 kB / 265.7 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.009889, allocations: 7.938 kB / 265.7 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.0101, allocations: 235.4 kB / 265.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.01013, allocations: 8 kB / 265.9 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.01026, allocations: 15.98 kB / 265.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.01028, allocations: 11.98 kB / 266 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.01029, allocations: 11.92 kB / 266 MB, free: 8.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.067e-05/0.01037, allocations: 100.6 kB / 266.1 MB, free: 8.586 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01037, allocations: 0 / 266.1 MB, free: 8.586 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001553/0.01052, allocations: 75.78 kB / 266.1 MB, free: 8.512 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inductor.i,capacitor1.v,capacitor2.v) * 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 (16): * Single equations (assignments): 16 * 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 6.563e-05/0.01059, allocations: 84.42 kB / 266.2 MB, free: 8.422 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.01093, allocations: 79.95 kB / 266.3 MB, free: 8.344 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.01094, allocations: 4 kB / 266.3 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.01098, allocations: 44.78 kB / 266.3 MB, free: 8.293 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.01115, allocations: 48.97 kB / 266.4 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.01291, allocations: 0.6037 MB / 267 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.701e-05/0.01296, allocations: 92.3 kB / 267.1 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.01302, allocations: 26.28 kB / 267.1 MB, free: 7.473 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.01312, allocations: 91.36 kB / 267.2 MB, free: 7.383 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01312, allocations: 0 / 267.2 MB, free: 7.383 MB / 266.7 MB Notification: Performance of Templates: time 0.004847/0.01797, allocations: 3.375 MB / 270.6 MB, free: 4.062 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.sim & ./ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7310549644753337]