Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.277/2.277, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 177] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 51.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3679, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.009081/0.377, allocations: 3.654 MB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005053/0.3821, allocations: 1.558 MB / 437.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.3824, allocations: 11.94 kB / 437.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.3837, allocations: 254.7 kB / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.3848, allocations: 306.2 kB / 438.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.3859, allocations: 270.6 kB / 438.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.3871, allocations: 0.728 MB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.3875, allocations: 117.4 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000598/0.3881, allocations: 291 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005819/0.3887, allocations: 310.7 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.3888, allocations: 52 kB / 439.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.3892, allocations: 104 kB / 440 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.3894, allocations: 151.4 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.3898, allocations: 242.8 kB / 440.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.3911, allocations: 0.7349 MB / 441.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3911, allocations: 4 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3911, allocations: 0 / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.3911, allocations: 0 / 441.1 MB, free: 13.93 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.002705/0.3938, allocations: 0.8876 MB / 442 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3938, allocations: 15.97 kB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.3942, allocations: 76.5 kB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.3952, allocations: 368.2 kB / 442.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.3953, allocations: 29.38 kB / 442.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.3954, allocations: 40.12 kB / 442.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.3968, allocations: 0.5269 MB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.3968, allocations: 4 kB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.3969, allocations: 16 kB / 443 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.3969, allocations: 12 kB / 443 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.398, allocations: 315.7 kB / 443.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/0.4015, allocations: 1.49 MB / 444.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.4025, allocations: 319.1 kB / 445.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/0.403, allocations: 165.4 kB / 445.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.403, allocations: 4 kB / 445.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007712/0.4038, allocations: 369.2 kB / 445.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.647e-06/0.4038, allocations: 0 / 445.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002839/0.4066, allocations: 0.709 MB / 446.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.4067, allocations: 174.1 kB / 446.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007921/0.4075, allocations: 497.8 kB / 447 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.4076, allocations: 37.7 kB / 447.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.4079, allocations: 260.7 kB / 447.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.408, allocations: 123 kB / 447.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.4082, allocations: 78.12 kB / 447.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.4084, allocations: 358.8 kB / 447.9 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.4088, allocations: 128.8 kB / 448 MB, free: 6.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.4095, allocations: 336.9 kB / 448.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007777/0.4102, allocations: 277.1 kB / 448.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4102, allocations: 0 / 448.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001253/0.4115, allocations: 485 kB / 449.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4115, allocations: 4 kB / 449.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4115, allocations: 0 / 449.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008031/0.4123, allocations: 163.3 kB / 449.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.4127, allocations: 43.91 kB / 449.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007565/0.4202, allocations: 6.13 MB / 455.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/0.4208, allocations: 52 kB / 455.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.4208, allocations: 12 kB / 455.5 MB, free: 14.69 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.0004114/0.4213, allocations: 194 kB / 455.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.4214, allocations: 51.67 kB / 455.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.4231, allocations: 0.5008 MB / 456.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4231, allocations: 4 kB / 456.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4231, allocations: 4.219 kB / 456.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4231, allocations: 7.984 kB / 456.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.4237, allocations: 345 kB / 456.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4238, allocations: 0 / 456.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.424, allocations: 27.98 kB / 456.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006544/0.4246, allocations: 163.3 kB / 456.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.4246, allocations: 4 kB / 456.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007259/0.4319, allocations: 5.839 MB / 462.6 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4319, allocations: 3.938 kB / 462.6 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.4334, allocations: 0.5035 MB / 463.1 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.4337, allocations: 87.67 kB / 463.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/0.4338, allocations: 7.938 kB / 463.2 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.4343, allocations: 35.97 kB / 463.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.4344, allocations: 47.91 kB / 463.3 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.4345, allocations: 12.19 kB / 463.3 MB, free: 6.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006263/0.4351, allocations: 359 kB / 463.7 MB, free: 6.016 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4351, allocations: 0 / 463.7 MB, free: 6.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001333/0.4364, allocations: 175.7 kB / 463.8 MB, free: 5.844 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.002486/0.4389, allocations: 481 kB / 464.3 MB, free: 5.551 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.441, allocations: 0.7834 MB / 465.1 MB, free: 4.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.441, allocations: 0 / 465.1 MB, free: 4.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.4423, allocations: 0.6468 MB / 465.7 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009138/0.4432, allocations: 98.03 kB / 465.8 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.4465, allocations: 0.9855 MB / 466.8 MB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.447, allocations: 267.4 kB / 467.1 MB, free: 2.617 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003028/0.4473, allocations: 51.31 kB / 467.1 MB, free: 2.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4474, allocations: 35.44 kB / 467.2 MB, free: 2.531 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4474, allocations: 0 / 467.2 MB, free: 2.531 MB / 366.1 MB Notification: Performance of Templates: time 0.03106/0.4785, allocations: 9.741 MB / 476.9 MB, free: 8.922 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.640444409000338]