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.001255/0.001255, allocations: 115.9 kB / 19.17 MB, free: 3.895 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.001321/0.001321, allocations: 212.9 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.433/1.433, allocations: 230.4 MB / 255.4 MB, free: 9.047 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.001901/0.001901, allocations: 71.83 kB / 374.8 MB, free: 4.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3094, allocations: 53.32 MB / 428.1 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006025/0.3154, allocations: 4.008 MB / 432.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.3188, allocations: 1.624 MB / 433.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004398/0.3193, allocations: 11.94 kB / 433.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009215/0.3202, allocations: 246.8 kB / 434 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008389/0.321, allocations: 306.1 kB / 434.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007468/0.3218, allocations: 262 kB / 434.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008565/0.3227, allocations: 0.7242 MB / 435.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.3229, allocations: 118.5 kB / 435.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004386/0.3234, allocations: 290.9 kB / 435.6 MB, free: 476 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.3238, allocations: 306.7 kB / 435.9 MB, free: 168 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.304e-05/0.3238, allocations: 52 kB / 436 MB, free: 116 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.3241, allocations: 107.9 kB / 436.1 MB, free: 8 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.3243, allocations: 143.5 kB / 436.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003094/0.3246, allocations: 302.4 kB / 436.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009293/0.3255, allocations: 0.7271 MB / 437.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3255, allocations: 3.938 kB / 437.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3255, allocations: 0 / 437.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.3255, allocations: 0 / 437.3 MB, free: 14.84 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.001823/0.3274, allocations: 0.9641 MB / 438.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.3274, allocations: 19.95 kB / 438.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.3277, allocations: 76.52 kB / 438.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006044/0.3283, allocations: 427.1 kB / 438.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.3283, allocations: 33.38 kB / 438.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.3284, allocations: 40.12 kB / 438.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008144/0.3292, allocations: 441.5 kB / 439.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3292, allocations: 0 / 439.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.3293, allocations: 23.98 kB / 439.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.3293, allocations: 8 kB / 439.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006396/0.3299, allocations: 311.8 kB / 439.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.3325, allocations: 1.699 MB / 441.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006984/0.3332, allocations: 323.1 kB / 441.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.3335, allocations: 156.8 kB / 441.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.3336, allocations: 8 kB / 441.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004893/0.3341, allocations: 262.4 kB / 442 MB, free: 9.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.734e-06/0.3341, allocations: 0 / 442 MB, free: 9.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00233/0.3364, allocations: 1.017 MB / 443 MB, free: 8.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.3365, allocations: 195.8 kB / 443.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006605/0.3372, allocations: 0.5057 MB / 443.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.3372, allocations: 33.7 kB / 443.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.3375, allocations: 264.8 kB / 444 MB, free: 7.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.3376, allocations: 130.9 kB / 444.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.3377, allocations: 74.12 kB / 444.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3379, allocations: 366.8 kB / 444.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.3382, allocations: 120.8 kB / 444.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.3385, allocations: 213.2 kB / 444.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.339, allocations: 273.1 kB / 445.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.339, allocations: 0 / 445.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008723/0.3399, allocations: 469.4 kB / 445.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3399, allocations: 11.98 kB / 445.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3399, allocations: 4 kB / 445.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/0.3405, allocations: 159.3 kB / 445.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.3407, allocations: 39.97 kB / 445.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005996/0.3467, allocations: 6.648 MB / 452.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.3472, allocations: 55.84 kB / 452.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.3473, allocations: 12 kB / 452.5 MB, free: 14.5 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.0003299/0.3476, allocations: 192.1 kB / 452.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.389e-05/0.3477, allocations: 63.5 kB / 452.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.3478, allocations: 64.78 kB / 452.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3478, allocations: 8 kB / 452.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3478, allocations: 0 / 452.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3478, allocations: 0 / 452.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/0.3484, allocations: 0.4894 MB / 453.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3484, allocations: 0 / 453.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.3485, allocations: 27.92 kB / 453.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004746/0.349, allocations: 155.3 kB / 453.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.349, allocations: 16 kB / 453.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005525/0.3546, allocations: 6.371 MB / 459.9 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3546, allocations: 0 / 459.9 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.3557, allocations: 0.4971 MB / 460.4 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.3559, allocations: 160.7 kB / 460.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.3559, allocations: 19.98 kB / 460.6 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.3562, allocations: 23.98 kB / 460.6 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.3564, allocations: 51.92 kB / 460.7 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.3564, allocations: 12 kB / 460.7 MB, free: 5.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004731/0.3569, allocations: 375.1 kB / 461 MB, free: 5.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3569, allocations: 4 kB / 461 MB, free: 5.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008276/0.3577, allocations: 167.8 kB / 461.2 MB, free: 5.148 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,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * 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.001605/0.3593, allocations: 430.4 kB / 461.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.3606, allocations: 0.7917 MB / 462.4 MB, free: 4.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3606, allocations: 4 kB / 462.4 MB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007694/0.3614, allocations: 0.6392 MB / 463.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.3619, allocations: 115 kB / 463.2 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.3641, allocations: 1.02 MB / 464.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.3646, allocations: 0.8672 MB / 465.1 MB, free: 1.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3647, allocations: 39.36 kB / 465.1 MB, free: 1.254 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3647, allocations: 0 / 465.1 MB, free: 1.254 MB / 366.1 MB Notification: Performance of Templates: time 0.01919/0.3839, allocations: 14.96 MB / 480.1 MB, free: 2.324 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.337350593879819]