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.00149/0.00149, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.001764/0.001764, allocations: 216 kB / 23 MB, free: 5.609 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.665/1.665, allocations: 230.2 MB / 256.2 MB, free: 8.57 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.00195/0.00195, allocations: 59.89 kB / 376.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.396, allocations: 53.32 MB / 429.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006605/0.4026, allocations: 4.036 MB / 433.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003971/0.4066, allocations: 1.643 MB / 435.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005226/0.4071, allocations: 11.94 kB / 435.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009912/0.4081, allocations: 246.8 kB / 435.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000934/0.4091, allocations: 310.1 kB / 436 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007818/0.4098, allocations: 263.4 kB / 436.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000907/0.4107, allocations: 0.728 MB / 437 MB, free: 312 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.411, allocations: 120.6 kB / 437.1 MB, free: 188 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004708/0.4115, allocations: 287 kB / 437.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.4119, allocations: 310.7 kB / 437.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.901e-05/0.412, allocations: 52 kB / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.4123, allocations: 103.9 kB / 437.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.4124, allocations: 151.5 kB / 438 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.4127, allocations: 302.4 kB / 438.3 MB, free: 15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.4138, allocations: 0.7212 MB / 439 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4138, allocations: 4 kB / 439 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4138, allocations: 0 / 439 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.4138, allocations: 0 / 439 MB, free: 14.27 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.001889/0.4157, allocations: 0.964 MB / 440 MB, free: 13.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4157, allocations: 8.031 kB / 440 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.416, allocations: 80.5 kB / 440.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006356/0.4166, allocations: 435.1 kB / 440.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/0.4166, allocations: 29.38 kB / 440.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.4167, allocations: 40.38 kB / 440.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.4175, allocations: 445.8 kB / 441 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4175, allocations: 0 / 441 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.4176, allocations: 19.98 kB / 441 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.4176, allocations: 12 kB / 441.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.4182, allocations: 307.8 kB / 441.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.421, allocations: 1.691 MB / 443 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/0.4217, allocations: 331.1 kB / 443.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.422, allocations: 160.7 kB / 443.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.352e-05/0.4221, allocations: 7.938 kB / 443.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005375/0.4226, allocations: 262.4 kB / 443.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/0.4226, allocations: 0 / 443.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002389/0.425, allocations: 1.009 MB / 444.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.4252, allocations: 191.9 kB / 445 MB, free: 7.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/0.4259, allocations: 0.5096 MB / 445.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.426, allocations: 33.7 kB / 445.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.4262, allocations: 256.8 kB / 445.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.4264, allocations: 134.9 kB / 445.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.4265, allocations: 74.14 kB / 446 MB, free: 6.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.4267, allocations: 362.7 kB / 446.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.427, allocations: 124.8 kB / 446.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.4274, allocations: 213.2 kB / 446.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.428, allocations: 273.1 kB / 446.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.428, allocations: 0 / 446.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009201/0.4289, allocations: 473.3 kB / 447.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.4289, allocations: 4 kB / 447.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4289, allocations: 0 / 447.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/0.4295, allocations: 163.4 kB / 447.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.4297, allocations: 43.97 kB / 447.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/0.4366, allocations: 6.668 MB / 454.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/0.4373, allocations: 55.7 kB / 454.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.4373, allocations: 16.25 kB / 454.3 MB, free: 13.91 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.0004644/0.4378, allocations: 196 kB / 454.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4379, allocations: 51.67 kB / 454.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.4391, allocations: 0.4935 MB / 455.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4391, allocations: 4 kB / 455.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.4391, allocations: 0 / 455.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4391, allocations: 0 / 455.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008254/0.4399, allocations: 0.497 MB / 455.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4399, allocations: 0 / 455.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.4401, allocations: 31.92 kB / 455.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/0.4405, allocations: 155.3 kB / 455.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.4406, allocations: 4 kB / 455.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006406/0.447, allocations: 6.367 MB / 462.1 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.447, allocations: 3.984 kB / 462.1 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.4482, allocations: 0.5051 MB / 462.6 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.4485, allocations: 160.7 kB / 462.8 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.4485, allocations: 8 kB / 462.8 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.4488, allocations: 31.97 kB / 462.8 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.449, allocations: 51.92 kB / 462.9 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.449, allocations: 8 kB / 462.9 MB, free: 4.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005513/0.4496, allocations: 375.1 kB / 463.3 MB, free: 4.305 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4496, allocations: 4 kB / 463.3 MB, free: 4.301 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009343/0.4505, allocations: 167.8 kB / 463.4 MB, free: 4.137 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.001844/0.4524, allocations: 431.5 kB / 463.9 MB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.4538, allocations: 0.7915 MB / 464.6 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4538, allocations: 0 / 464.6 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008582/0.4546, allocations: 0.643 MB / 465.3 MB, free: 2.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.4554, allocations: 127.5 kB / 465.4 MB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.458, allocations: 0.9958 MB / 466.4 MB, free: 1.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.4586, allocations: 0.8595 MB / 467.3 MB, free: 288 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.4588, allocations: 44.17 kB / 467.3 MB, free: 244 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.575e-05/0.4589, allocations: 39.42 kB / 467.3 MB, free: 204 kB / 366.1 MB Notification: Performance of SimCode: time 2.625e-06/0.4589, allocations: 0 / 467.3 MB, free: 204 kB / 366.1 MB Notification: Performance of Templates: time 0.0211/0.48, allocations: 9.893 MB / 477.2 MB, free: 6.398 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.51356790587306]