Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001443/0.001443, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001576/0.001576, allocations: 211.8 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.648/1.648, allocations: 230.3 MB / 258 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 67.88 kB / 378.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3936, allocations: 53.35 MB / 432.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006265/0.3999, allocations: 4.036 MB / 436.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003571/0.4034, allocations: 1.646 MB / 437.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005239/0.404, allocations: 15.88 kB / 437.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009752/0.4049, allocations: 258.8 kB / 438.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008667/0.4058, allocations: 306.1 kB / 438.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.4066, allocations: 259.4 kB / 438.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009309/0.4075, allocations: 0.728 MB / 439.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.4078, allocations: 123.4 kB / 439.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004483/0.4083, allocations: 310.8 kB / 439.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.4086, allocations: 302.7 kB / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.806e-05/0.4087, allocations: 52 kB / 440.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.409, allocations: 111.9 kB / 440.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.4092, allocations: 143.5 kB / 440.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.4095, allocations: 306.4 kB / 440.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009228/0.4104, allocations: 0.7193 MB / 441.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4104, allocations: 0 / 441.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4104, allocations: 0 / 441.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.4104, allocations: 0 / 441.4 MB, free: 13.79 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.001867/0.4123, allocations: 0.9005 MB / 442.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4123, allocations: 8.031 kB / 442.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.4126, allocations: 88.39 kB / 442.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006503/0.4133, allocations: 353.3 kB / 442.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.4133, allocations: 29.38 kB / 442.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/0.4134, allocations: 48.36 kB / 442.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.4142, allocations: 441.8 kB / 443.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.4142, allocations: 0 / 443.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.4142, allocations: 16 kB / 443.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.4143, allocations: 12 kB / 443.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006433/0.4149, allocations: 315.8 kB / 443.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.4176, allocations: 1.653 MB / 445.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.4183, allocations: 319.1 kB / 445.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.4186, allocations: 157.4 kB / 445.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.4187, allocations: 15.88 kB / 445.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004995/0.4192, allocations: 262.3 kB / 446 MB, free: 8.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.4192, allocations: 0 / 446 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002212/0.4214, allocations: 0.709 MB / 446.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.4215, allocations: 191.9 kB / 446.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006477/0.4222, allocations: 0.498 MB / 447.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.4222, allocations: 33.7 kB / 447.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.4224, allocations: 260.8 kB / 447.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.4225, allocations: 134.9 kB / 447.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.4227, allocations: 74.14 kB / 447.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4229, allocations: 366.7 kB / 448.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.4231, allocations: 128.8 kB / 448.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.4235, allocations: 213.2 kB / 448.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.424, allocations: 273.1 kB / 448.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.424, allocations: 0 / 448.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009055/0.4249, allocations: 481.1 kB / 449.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4249, allocations: 6.656 kB / 449.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.4249, allocations: 3.938 kB / 449.3 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000564/0.4255, allocations: 163.3 kB / 449.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.4257, allocations: 43.91 kB / 449.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005822/0.4315, allocations: 6.245 MB / 455.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.432, allocations: 51.83 kB / 455.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.4321, allocations: 16 kB / 455.8 MB, free: 14.54 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.0003867/0.4325, allocations: 187.8 kB / 456 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.4326, allocations: 55.66 kB / 456 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.4337, allocations: 0.5015 MB / 456.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4337, allocations: 4 kB / 456.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.4337, allocations: 0 / 456.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.4337, allocations: 3.984 kB / 456.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006599/0.4344, allocations: 472.2 kB / 457 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4344, allocations: 4 kB / 457 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.4346, allocations: 31.86 kB / 457 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004757/0.435, allocations: 159.5 kB / 457.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.4351, allocations: 4 kB / 457.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006129/0.4412, allocations: 5.95 MB / 463.2 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4412, allocations: 0 / 463.2 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.4424, allocations: 0.4996 MB / 463.7 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.4427, allocations: 83.55 kB / 463.7 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/0.4427, allocations: 15.98 kB / 463.8 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.443, allocations: 27.98 kB / 463.8 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.4432, allocations: 55.89 kB / 463.8 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.4432, allocations: 8 kB / 463.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008578/0.4441, allocations: 367.1 kB / 464.2 MB, free: 5.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4441, allocations: 4 kB / 464.2 MB, free: 5.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009376/0.445, allocations: 179.7 kB / 464.4 MB, free: 5.391 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.001707/0.4467, allocations: 419.1 kB / 464.8 MB, free: 5.109 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.4483, allocations: 0.7952 MB / 465.6 MB, free: 4.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4483, allocations: 4.062 kB / 465.6 MB, free: 4.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000824/0.4491, allocations: 0.6351 MB / 466.2 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006508/0.4497, allocations: 128.2 kB / 466.3 MB, free: 3.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.4523, allocations: 0.9972 MB / 467.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000765/0.453, allocations: 0.8672 MB / 468.2 MB, free: 1.539 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.4532, allocations: 52.16 kB / 468.3 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.4533, allocations: 35.42 kB / 468.3 MB, free: 1.453 MB / 366.1 MB Notification: Performance of SimCode: time 1.173e-06/0.4533, allocations: 0 / 468.3 MB, free: 1.453 MB / 366.1 MB Notification: Performance of Templates: time 0.02092/0.4743, allocations: 10.01 MB / 478.3 MB, free: 7.527 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.520548067986965]