Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.001348/0.001348, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001533/0.001533, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.56/1.56, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") [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.002149/0.002149, allocations: 71.89 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3027, allocations: 53.32 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.006323/0.309, allocations: 4.124 MB / 436.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.3116, allocations: 1.071 MB / 437.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006462/0.3123, allocations: 4 kB / 437.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.3127, allocations: 87.14 kB / 437.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007078/0.3134, allocations: 186.4 kB / 437.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007364/0.3142, allocations: 235.6 kB / 437.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.3153, allocations: 0.8289 MB / 438.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003147/0.3156, allocations: 118.9 kB / 438.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006248/0.3162, allocations: 322.9 kB / 439 MB, free: 392 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.3167, allocations: 354.7 kB / 439.4 MB, free: 36 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.3168, allocations: 84.05 kB / 439.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.317, allocations: 91.94 kB / 439.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.3171, allocations: 159.4 kB / 439.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003406/0.3175, allocations: 330.5 kB / 440 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.3185, allocations: 0.868 MB / 440.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3185, allocations: 4 kB / 440.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3185, allocations: 3.938 kB / 440.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3185, allocations: 0 / 440.9 MB, free: 14.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002873/0.3214, allocations: 1.045 MB / 441.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3215, allocations: 12.03 kB / 442 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002853/0.3217, allocations: 80.55 kB / 442 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000721/0.3225, allocations: 422.2 kB / 442.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.3225, allocations: 29.38 kB / 442.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.902e-05/0.3226, allocations: 36.38 kB / 442.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.3242, allocations: 0.6032 MB / 443.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3242, allocations: 3.938 kB / 443.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.496e-05/0.3242, allocations: 12 kB / 443.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.3242, allocations: 12 kB / 443.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.3263, allocations: 0.644 MB / 443.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004153/0.3305, allocations: 2.165 MB / 445.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004087/0.3346, allocations: 0.8276 MB / 446.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.3357, allocations: 369.3 kB / 447.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.3357, allocations: 8.328 kB / 447.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.337, allocations: 434.6 kB / 447.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.783e-06/0.337, allocations: 0 / 447.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.01465/0.3516, allocations: 2.375 MB / 449.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.3517, allocations: 89.05 kB / 450 MB, free: 5.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/0.3522, allocations: 417.9 kB / 450.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/0.3523, allocations: 33.7 kB / 450.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.3525, allocations: 240.9 kB / 450.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.3527, allocations: 134.8 kB / 450.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.3529, allocations: 78.05 kB / 450.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.353, allocations: 354.7 kB / 451.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.354, allocations: 308.5 kB / 451.6 MB, free: 3.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.3551, allocations: 342.1 kB / 451.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/0.357, allocations: 0.5951 MB / 452.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.357, allocations: 4 kB / 452.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003861/0.3608, allocations: 0.9979 MB / 453.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/0.3609, allocations: 33.7 kB / 453.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.3609, allocations: 7.984 kB / 453.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.3623, allocations: 424.5 kB / 453.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.3629, allocations: 95.86 kB / 454 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009216/0.3721, allocations: 3.805 MB / 457.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007927/0.3729, allocations: 99.73 kB / 457.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.665e-05/0.3729, allocations: 12 kB / 458 MB, free: 12.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (trapezoidCurrent.signalSource.count,$PRE.trapezoidCurrent.signalSource.count,trapezoidCurrent.signalSource.T_start,$PRE.trapezoidCurrent.signalSource.T_start,simpleTriac.idealDiode1.off,simpleTriac.idealDiode.off,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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 {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003347/0.3733, allocations: 178.3 kB / 458.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3734, allocations: 55.66 kB / 458.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.3735, allocations: 60.53 kB / 458.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.3735, allocations: 4 kB / 458.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3735, allocations: 0 / 458.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3735, allocations: 3.984 kB / 458.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/0.3743, allocations: 0.6221 MB / 458.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3743, allocations: 0 / 458.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.3748, allocations: 91.86 kB / 459 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.3761, allocations: 432.4 kB / 459.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.282e-05/0.3762, allocations: 15.92 kB / 459.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009189/0.3853, allocations: 3.801 MB / 463.2 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3854, allocations: 0 / 463.2 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006389/0.3917, allocations: 1.501 MB / 464.7 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/0.3922, allocations: 176.7 kB / 464.9 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.48e-05/0.3923, allocations: 19.92 kB / 464.9 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006045/0.3929, allocations: 75.86 kB / 465 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.393, allocations: 47.92 kB / 465 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.3931, allocations: 12 kB / 465 MB, free: 5.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004759/0.3936, allocations: 295.1 kB / 465.3 MB, free: 5.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3936, allocations: 0 / 465.3 MB, free: 5.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007804/0.3943, allocations: 179.8 kB / 465.5 MB, free: 5.152 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,trapezoidCurrent.signalSource.T_start,trapezoidCurrent.signalSource.count) * Number of discrete states: 1 (trapezoidCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002444/0.3946, allocations: 122.6 kB / 465.6 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003006/0.3976, allocations: 0.9462 MB / 466.6 MB, free: 4.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3976, allocations: 0 / 466.6 MB, free: 4.055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.3993, allocations: 0.5762 MB / 467.1 MB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.3998, allocations: 77.47 kB / 467.2 MB, free: 3.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.4032, allocations: 1.279 MB / 468.5 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.4037, allocations: 0.8472 MB / 469.3 MB, free: 1.203 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.4039, allocations: 43.39 kB / 469.4 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.404, allocations: 35.44 kB / 469.4 MB, free: 1.125 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.404, allocations: 0 / 469.4 MB, free: 1.125 MB / 366.1 MB Notification: Performance of Templates: time 0.02586/0.4299, allocations: 14.33 MB / 483.7 MB, free: 2.883 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.258145328145474] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 0.4390921900048852 0.45516876900000003 0.13317958700000002 Calling exit ...