Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001935/0.001935, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002972/0.002972, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.699/1.699, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [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.002095/0.002095, allocations: 72.75 kB / 379 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3971, allocations: 53.37 MB / 432.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.007003/0.4041, allocations: 4.025 MB / 436.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003834/0.4079, allocations: 1.644 MB / 438.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004797/0.4084, allocations: 19.88 kB / 438.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000998/0.4094, allocations: 246.8 kB / 438.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009834/0.4104, allocations: 306.1 kB / 438.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009409/0.4113, allocations: 274.7 kB / 438.9 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.4124, allocations: 0.7164 MB / 439.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.4127, allocations: 119.4 kB / 439.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.4133, allocations: 298.9 kB / 440 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004453/0.4137, allocations: 306.7 kB / 440.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.364e-05/0.4138, allocations: 52 kB / 440.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.4141, allocations: 111.9 kB / 440.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.4142, allocations: 147.5 kB / 440.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.4146, allocations: 302.5 kB / 440.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.4161, allocations: 0.7271 MB / 441.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4161, allocations: 4 kB / 441.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.4161, allocations: 0 / 441.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.4161, allocations: 0 / 441.7 MB, free: 13.7 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002703/0.4188, allocations: 0.8989 MB / 442.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.176e-05/0.4189, allocations: 8.031 kB / 442.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/0.4193, allocations: 80.47 kB / 442.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008496/0.4201, allocations: 361.3 kB / 443 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/0.4202, allocations: 33.38 kB / 443 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/0.4203, allocations: 40.12 kB / 443.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.4213, allocations: 441.5 kB / 443.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.4213, allocations: 4 kB / 443.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.4214, allocations: 20 kB / 443.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.4214, allocations: 8 kB / 443.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007104/0.4221, allocations: 311.8 kB / 443.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.4252, allocations: 1.653 MB / 445.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.426, allocations: 323.1 kB / 445.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.4263, allocations: 169.3 kB / 446 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/0.4264, allocations: 4 kB / 446 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005978/0.427, allocations: 270.4 kB / 446.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.336e-06/0.427, allocations: 0 / 446.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002349/0.4294, allocations: 0.7012 MB / 446.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/0.4295, allocations: 191.9 kB / 447.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008006/0.4303, allocations: 0.5019 MB / 447.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.4304, allocations: 37.7 kB / 447.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.4307, allocations: 264.7 kB / 447.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.4308, allocations: 130.9 kB / 448.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.431, allocations: 74.14 kB / 448.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.4312, allocations: 358.8 kB / 448.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.4315, allocations: 120.8 kB / 448.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.4318, allocations: 217.3 kB / 448.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.4324, allocations: 273.1 kB / 449.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4324, allocations: 0 / 449.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009621/0.4334, allocations: 473 kB / 449.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.4334, allocations: 8 kB / 449.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.4334, allocations: 0 / 449.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006592/0.4341, allocations: 167.3 kB / 449.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.4343, allocations: 51.91 kB / 449.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006677/0.441, allocations: 6.241 MB / 456 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.4415, allocations: 51.78 kB / 456.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.4415, allocations: 12 kB / 456.1 MB, free: 14.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003908/0.4419, allocations: 197.3 kB / 456.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.442, allocations: 59.61 kB / 456.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.4433, allocations: 0.4937 MB / 456.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4433, allocations: 8 kB / 456.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.4433, allocations: 0 / 456.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.4433, allocations: 4.078 kB / 456.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007173/0.444, allocations: 476.1 kB / 457.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.444, allocations: 128 / 457.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.4442, allocations: 35.97 kB / 457.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004944/0.4447, allocations: 151.3 kB / 457.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.4447, allocations: 11.98 kB / 457.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006378/0.4511, allocations: 5.943 MB / 463.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4511, allocations: 4.062 kB / 463.4 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.4523, allocations: 0.4957 MB / 463.9 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.4525, allocations: 83.56 kB / 464 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.4526, allocations: 8 kB / 464 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.4528, allocations: 31.97 kB / 464 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.453, allocations: 59.83 kB / 464.1 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.4531, allocations: 12 kB / 464.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005394/0.4536, allocations: 367.1 kB / 464.5 MB, free: 5.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4536, allocations: 4 kB / 464.5 MB, free: 5.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001005/0.4546, allocations: 183.6 kB / 464.7 MB, free: 5.309 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001806/0.4564, allocations: 427.5 kB / 465.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.4583, allocations: 0.7913 MB / 465.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4583, allocations: 0 / 465.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.4593, allocations: 0.6392 MB / 466.5 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/0.46, allocations: 113.7 kB / 466.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.4628, allocations: 0.9938 MB / 467.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/0.4635, allocations: 0.8633 MB / 468.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.4637, allocations: 60.14 kB / 468.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.4638, allocations: 31.44 kB / 468.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4638, allocations: 8 kB / 468.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of Templates: time 0.02421/0.4881, allocations: 10.01 MB / 478.6 MB, free: 7.48 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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: 5.822622254490852]