Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemonstrateLightning.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 110 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 218.4 kB / 24.48 MB, free: 4.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.413/1.413, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DemonstrateLightning,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemonstrateLightning") translateModel(Modelica.Electrical.Analog.Examples.DemonstrateLightning,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemonstrateLightning") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.83 kB / 378.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2214, allocations: 53.3 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemonstrateLightning): time 0.004303/0.2257, allocations: 2.933 MB / 435 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.2272, allocations: 0.8885 MB / 435.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.2273, allocations: 11.94 kB / 435.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.2275, allocations: 55.44 kB / 436 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.2278, allocations: 123.1 kB / 436.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.2281, allocations: 223.6 kB / 436.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005758/0.2287, allocations: 0.5335 MB / 436.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.2289, allocations: 83.09 kB / 436.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.2291, allocations: 199.3 kB / 437.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.2295, allocations: 223.1 kB / 437.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.509e-05/0.2295, allocations: 51.94 kB / 437.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.945e-05/0.2296, allocations: 48 kB / 437.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.362e-05/0.2297, allocations: 99.64 kB / 437.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.2299, allocations: 199 kB / 437.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.2304, allocations: 0.4956 MB / 438.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2304, allocations: 3.938 kB / 438.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2304, allocations: 0 / 438.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2304, allocations: 0 / 438.2 MB, free: 1.184 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001762/0.2322, allocations: 0.7557 MB / 439 MB, free: 388 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2322, allocations: 12.03 kB / 439 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.882e-05/0.2323, allocations: 40.7 kB / 439 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.2328, allocations: 331.6 kB / 439.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.233, allocations: 88.52 kB / 439.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.233, allocations: 28.38 kB / 439.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.2335, allocations: 283.9 kB / 439.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.2335, allocations: 3.953 kB / 439.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.2336, allocations: 16 kB / 439.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.2336, allocations: 4 kB / 439.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.2339, allocations: 165.2 kB / 439.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002975/0.2369, allocations: 1.465 MB / 441.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.2371, allocations: 105.2 kB / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.2372, allocations: 57.81 kB / 441.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.2372, allocations: 4 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.2373, allocations: 30.56 kB / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.2373, allocations: 0 / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003307/0.2406, allocations: 1.076 MB / 442.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.2407, allocations: 106.8 kB / 442.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.241, allocations: 324.4 kB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.2411, allocations: 37.64 kB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.2412, allocations: 204.5 kB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.2413, allocations: 55.53 kB / 443.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.2414, allocations: 73.64 kB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2416, allocations: 338.8 kB / 443.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.242, allocations: 151.9 kB / 443.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.2424, allocations: 248.4 kB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007173/0.2431, allocations: 364.3 kB / 444.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2431, allocations: 0 / 444.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.009646/0.2528, allocations: 1.306 MB / 445.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2528, allocations: 8 kB / 445.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.2528, allocations: 4 kB / 445.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01095/0.2638, allocations: 1.149 MB / 447 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.2642, allocations: 67.88 kB / 447 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.2758, allocations: 5.344 MB / 452.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.2764, allocations: 27.98 kB / 452.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.2764, allocations: 27.91 kB / 452.4 MB, free: 2.176 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (integrator2.local_reset,integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,1), (4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.2766, allocations: 147.7 kB / 452.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/0.2767, allocations: 27.81 kB / 452.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.2768, allocations: 26.61 kB / 452.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2768, allocations: 4.094 kB / 452.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2768, allocations: 4.031 kB / 452.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/0.2769, allocations: 112.8 kB / 452.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.2769, allocations: 7.938 kB / 452.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.2773, allocations: 31.97 kB / 452.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.2774, allocations: 11.97 kB / 452.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000949/0.2783, allocations: 416 kB / 453.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009557/0.2793, allocations: 0.5954 MB / 453.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002458/0.2795, allocations: 96.11 kB / 453.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002582/0.2798, allocations: 223.1 kB / 454.1 MB, free: 456 kB / 350.1 MB Notification: Performance of Backend: time 3.71e-07/0.2798, allocations: 0 / 454.1 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002332/0.2821, allocations: 0.7339 MB / 454.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of SimCode: time 0.001388/0.2835, allocations: 1.072 MB / 455.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Templates: time 0.01715/0.3007, allocations: 10.44 MB / 466.4 MB, free: 4.172 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemonstrateLightning.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemonstrateLightning.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemonstrateLightning -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.DemonstrateLightning.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.587314826902002] Failed to read output from testmodel.py, exit status != 0: 0.3085464993491769 0.323867494 0.089856895 Calling exit ...