Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002112/0.002112, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002443/0.002443, allocations: 184 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 51.91 kB / 370.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3561, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.008746/0.3648, allocations: 3.626 MB / 426.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.369, allocations: 1.383 MB / 428.1 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.3695, allocations: 11.94 kB / 428.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.3707, allocations: 254.8 kB / 428.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.3717, allocations: 258.4 kB / 428.6 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.3728, allocations: 293.7 kB / 428.9 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.3741, allocations: 0.7085 MB / 429.6 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.3745, allocations: 105.4 kB / 429.7 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006501/0.3751, allocations: 294.9 kB / 430 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005629/0.3757, allocations: 266.8 kB / 430.2 MB, free: 7.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.3758, allocations: 52 kB / 430.3 MB, free: 7.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.3762, allocations: 107.9 kB / 430.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.3764, allocations: 143.5 kB / 430.5 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003809/0.3768, allocations: 238.9 kB / 430.8 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.378, allocations: 0.7221 MB / 431.5 MB, free: 6.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.378, allocations: 4 kB / 431.5 MB, free: 6.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.378, allocations: 0 / 431.5 MB, free: 6.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.378, allocations: 0 / 431.5 MB, free: 6.023 MB / 334.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.002344/0.3804, allocations: 0.8802 MB / 432.4 MB, free: 5.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3804, allocations: 12.03 kB / 432.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.3806, allocations: 68.52 kB / 432.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008608/0.3815, allocations: 348.3 kB / 432.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.3815, allocations: 29.38 kB / 432.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.02e-05/0.3816, allocations: 48.06 kB / 432.9 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.3829, allocations: 0.5268 MB / 433.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.3829, allocations: 0 / 433.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/0.3829, allocations: 16 kB / 433.4 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.383, allocations: 11.94 kB / 433.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.384, allocations: 323.8 kB / 433.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003674/0.3877, allocations: 1.493 MB / 435.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.3887, allocations: 330.9 kB / 435.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.3892, allocations: 164.2 kB / 435.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.3893, allocations: 7.984 kB / 435.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008329/0.3901, allocations: 365.2 kB / 436.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 4.047e-06/0.3901, allocations: 0 / 436.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00319/0.3933, allocations: 0.7159 MB / 436.8 MB, free: 460 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.3934, allocations: 158.2 kB / 437 MB, free: 264 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/0.3943, allocations: 489.8 kB / 437.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.3944, allocations: 33.7 kB / 437.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.3947, allocations: 260.7 kB / 437.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.3949, allocations: 130.9 kB / 437.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.395, allocations: 82.08 kB / 437.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.3953, allocations: 354.8 kB / 438.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.3956, allocations: 124.8 kB / 438.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/0.3962, allocations: 344.9 kB / 438.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.3969, allocations: 269.4 kB / 439 MB, free: 14.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3969, allocations: 0 / 439 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001309/0.3982, allocations: 473 kB / 439.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3982, allocations: 4.094 kB / 439.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3982, allocations: 8 kB / 439.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006765/0.3989, allocations: 155.4 kB / 439.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.3992, allocations: 51.91 kB / 439.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007558/0.4068, allocations: 6.119 MB / 445.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006495/0.4074, allocations: 55.97 kB / 445.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.4075, allocations: 12 kB / 445.9 MB, free: 6.812 MB / 350.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.0004183/0.4079, allocations: 195.8 kB / 446 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.408, allocations: 51.67 kB / 446.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.4097, allocations: 0.4932 MB / 446.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.4097, allocations: 4 kB / 446.6 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.4097, allocations: 0 / 446.6 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4097, allocations: 0 / 446.6 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007696/0.4104, allocations: 353 kB / 446.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4104, allocations: 0 / 446.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.4107, allocations: 31.92 kB / 447 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007263/0.4114, allocations: 155.3 kB / 447.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.4114, allocations: 8 kB / 447.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007801/0.4192, allocations: 5.839 MB / 453 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.4192, allocations: 3.984 kB / 453 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.4209, allocations: 0.5073 MB / 453.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.4212, allocations: 79.56 kB / 453.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-05/0.4213, allocations: 12 kB / 453.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.4217, allocations: 32.03 kB / 453.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.422, allocations: 59.89 kB / 453.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.422, allocations: 11.94 kB / 453.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006588/0.4227, allocations: 347.1 kB / 454 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4227, allocations: 0 / 454 MB, free: 14.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001377/0.4241, allocations: 179.7 kB / 454.2 MB, free: 13.97 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 (25): * Single equations (assignments): 18 * 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.002413/0.4265, allocations: 453.9 kB / 454.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.4284, allocations: 0.7911 MB / 455.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4284, allocations: 0 / 455.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.4295, allocations: 0.6586 MB / 456.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.4303, allocations: 102.3 kB / 456.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.4334, allocations: 0.9594 MB / 457.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.4338, allocations: 263.2 kB / 457.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002663/0.4341, allocations: 51.28 kB / 457.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.4342, allocations: 35.36 kB / 457.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4342, allocations: 0 / 457.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of Templates: time 0.02654/0.4608, allocations: 9.607 MB / 467.1 MB, free: 1.234 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.302705004811287]