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.001253/0.001253, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001393/0.001393, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.405/1.405, allocations: 230.5 MB / 255.4 MB, free: 9.062 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.001899/0.001899, allocations: 71.83 kB / 374.7 MB, free: 4.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2953, allocations: 53.32 MB / 428.1 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.006156/0.3014, allocations: 4.111 MB / 432.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.3037, allocations: 1.067 MB / 433.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.304, allocations: 11.94 kB / 433.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.3043, allocations: 83.14 kB / 433.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.3047, allocations: 194.4 kB / 433.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.3053, allocations: 219.7 kB / 433.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008676/0.3062, allocations: 0.8251 MB / 434.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.3064, allocations: 118.5 kB / 434.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005651/0.307, allocations: 322.9 kB / 435 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004438/0.3074, allocations: 358.6 kB / 435.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.3076, allocations: 87.94 kB / 435.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.3077, allocations: 91.98 kB / 435.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.3079, allocations: 167.4 kB / 435.7 MB, free: 416 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003189/0.3082, allocations: 330.5 kB / 436 MB, free: 84 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009378/0.3091, allocations: 0.8638 MB / 436.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3091, allocations: 0 / 436.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3091, allocations: 0 / 436.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3091, allocations: 4 kB / 436.9 MB, free: 15.21 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.002659/0.3118, allocations: 1.057 MB / 437.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3118, allocations: 8.031 kB / 437.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.3121, allocations: 72.55 kB / 438 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.3127, allocations: 422.3 kB / 438.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.3128, allocations: 29.38 kB / 438.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.3129, allocations: 36.38 kB / 438.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.3144, allocations: 0.6071 MB / 439.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.3144, allocations: 0 / 439.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.3145, allocations: 16 kB / 439.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3145, allocations: 12 kB / 439.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.3165, allocations: 0.6439 MB / 439.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/0.3204, allocations: 2.169 MB / 441.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.3242, allocations: 0.8198 MB / 442.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.3253, allocations: 377.2 kB / 443.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.3253, allocations: 8.328 kB / 443.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.3265, allocations: 434.6 kB / 443.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.3265, allocations: 0 / 443.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.01401/0.3406, allocations: 2.387 MB / 445.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/0.3407, allocations: 81.11 kB / 446 MB, free: 5.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006435/0.3413, allocations: 421.9 kB / 446.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.422e-05/0.3414, allocations: 33.7 kB / 446.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.3416, allocations: 236.9 kB / 446.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.3418, allocations: 138.8 kB / 446.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.3419, allocations: 70.06 kB / 446.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3421, allocations: 358.7 kB / 447.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009719/0.3431, allocations: 304.5 kB / 447.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.3441, allocations: 342.1 kB / 447.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/0.346, allocations: 0.5952 MB / 448.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.346, allocations: 0 / 448.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.003721/0.3497, allocations: 0.994 MB / 449.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.3497, allocations: 41.69 kB / 449.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3498, allocations: 0 / 449.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.3511, allocations: 440.4 kB / 449.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.3516, allocations: 87.86 kB / 450 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009061/0.3607, allocations: 3.81 MB / 453.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007622/0.3614, allocations: 87.73 kB / 453.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.3615, allocations: 15.98 kB / 453.9 MB, free: 13.63 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.0003177/0.3618, allocations: 186.7 kB / 454.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/0.3619, allocations: 47.67 kB / 454.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.362, allocations: 52.53 kB / 454.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.362, allocations: 4 kB / 454.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.362, allocations: 0 / 454.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.362, allocations: 3.984 kB / 454.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008244/0.3629, allocations: 0.6261 MB / 454.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3629, allocations: 0 / 454.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005085/0.3634, allocations: 87.86 kB / 454.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.3646, allocations: 436.5 kB / 455.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.399e-05/0.3647, allocations: 11.98 kB / 455.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008779/0.3734, allocations: 3.805 MB / 459.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3734, allocations: 3.984 kB / 459.2 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005937/0.3794, allocations: 1.497 MB / 460.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.3797, allocations: 184.6 kB / 460.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.007e-05/0.3798, allocations: 23.86 kB / 460.9 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.3804, allocations: 63.92 kB / 461 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.3805, allocations: 51.92 kB / 461 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.3806, allocations: 16 kB / 461 MB, free: 6.312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003767/0.381, allocations: 295.1 kB / 461.3 MB, free: 6.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.381, allocations: 0 / 461.3 MB, free: 6.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006796/0.3816, allocations: 179.8 kB / 461.5 MB, free: 5.852 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.0001914/0.3818, allocations: 107.6 kB / 461.6 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002876/0.3847, allocations: 0.9423 MB / 462.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3847, allocations: 0 / 462.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.3864, allocations: 0.5762 MB / 463.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.3869, allocations: 88.14 kB / 463.2 MB, free: 4.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.3903, allocations: 1.296 MB / 464.5 MB, free: 2.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.3908, allocations: 0.8394 MB / 465.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.391, allocations: 39.42 kB / 465.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.391, allocations: 0 / 465.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of Templates: time 0.0147/0.4057, allocations: 10.03 MB / 475.4 MB, free: 7.867 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 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SimpleTriacCircuit/SimpleTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.366137573029846]