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.001818/0.001818, allocations: 117 kB / 18.41 MB, free: 4.664 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.002077/0.002077, allocations: 186.9 kB / 21.34 MB, free: 1.738 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.458/1.458, allocations: 222.9 MB / 247.1 MB, free: 4.219 MB / 190.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.001676/0.001676, allocations: 47.92 kB / 358.7 MB, free: 8.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.1011, allocations: 49.44 MB / 408.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006405/0.1075, allocations: 3.969 MB / 412.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.1106, allocations: 1.418 MB / 413.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.111, allocations: 11.94 kB / 413.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008048/0.1119, allocations: 254.8 kB / 413.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006136/0.1125, allocations: 250.3 kB / 414 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007307/0.1132, allocations: 290.7 kB / 414.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009937/0.1143, allocations: 0.7085 MB / 415 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.1146, allocations: 176.9 kB / 415.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004428/0.115, allocations: 271 kB / 415.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003926/0.1154, allocations: 298.8 kB / 415.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.803e-05/0.1155, allocations: 52 kB / 415.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.1158, allocations: 103.9 kB / 415.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.116, allocations: 143.5 kB / 416 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003095/0.1163, allocations: 298.5 kB / 416.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009227/0.1172, allocations: 0.7041 MB / 417 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1173, allocations: 4 kB / 417 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1173, allocations: 0 / 417 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.1173, allocations: 3.984 kB / 417 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.001829/0.1191, allocations: 0.9563 MB / 418 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1192, allocations: 8.031 kB / 418 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.1193, allocations: 68.52 kB / 418 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.1199, allocations: 427.1 kB / 418.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.1199, allocations: 29.38 kB / 418.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.12, allocations: 40.12 kB / 418.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008027/0.1208, allocations: 433.6 kB / 419 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1209, allocations: 7.938 kB / 419 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.1209, allocations: 23.98 kB / 419 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1209, allocations: 8 kB / 419 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/0.1216, allocations: 311.8 kB / 419.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.1242, allocations: 1.703 MB / 421 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/0.125, allocations: 375.4 kB / 421.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.1254, allocations: 183.5 kB / 421.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.1254, allocations: 7.984 kB / 421.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.1259, allocations: 266.4 kB / 421.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.485e-06/0.1259, allocations: 0 / 421.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002413/0.1284, allocations: 1.01 MB / 422.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.1285, allocations: 187.9 kB / 423 MB, free: 7.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006827/0.1292, allocations: 0.4979 MB / 423.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.1293, allocations: 33.7 kB / 423.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.1295, allocations: 256.8 kB / 423.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.1296, allocations: 131 kB / 423.9 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.1298, allocations: 78.12 kB / 424 MB, free: 6.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.13, allocations: 362.7 kB / 424.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.1303, allocations: 116.8 kB / 424.5 MB, free: 6.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.1307, allocations: 217.2 kB / 424.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005321/0.1312, allocations: 261.4 kB / 424.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1312, allocations: 0 / 424.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009056/0.1321, allocations: 492.9 kB / 425.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1322, allocations: 8 kB / 425.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1322, allocations: 0 / 425.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005414/0.1327, allocations: 155.5 kB / 425.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.133, allocations: 51.91 kB / 425.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1788/0.3118, allocations: 6.65 MB / 432.3 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.3123, allocations: 51.78 kB / 432.3 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.3123, allocations: 14.62 kB / 432.3 MB, free: 19.64 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.0002345/0.3126, allocations: 199.3 kB / 432.5 MB, free: 19.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.3126, allocations: 53.97 kB / 432.6 MB, free: 19.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.48e-05/0.3127, allocations: 60.28 kB / 432.6 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3128, allocations: 4.312 kB / 432.6 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3128, allocations: 0 / 432.6 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3128, allocations: 5.391 kB / 432.7 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.3132, allocations: 495 kB / 433.1 MB, free: 19.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3132, allocations: 5.062 kB / 433.1 MB, free: 19.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.3133, allocations: 26.73 kB / 433.2 MB, free: 19.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003965/0.3137, allocations: 162 kB / 433.3 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3138, allocations: 5.375 kB / 433.3 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003512/0.3173, allocations: 6.359 MB / 439.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3173, allocations: 0 / 439.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009626/0.3183, allocations: 0.5102 MB / 440.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.3184, allocations: 160 kB / 440.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.855e-05/0.3185, allocations: 5.188 kB / 440.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.3188, allocations: 34.66 kB / 440.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.319, allocations: 55.06 kB / 440.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.319, allocations: 14.27 kB / 440.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003642/0.3194, allocations: 355.9 kB / 440.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3194, allocations: 0 / 440.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007547/0.3201, allocations: 175.6 kB / 441 MB, free: 13.32 MB / 350.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.001529/0.3217, allocations: 439.5 kB / 441.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.3228, allocations: 0.8064 MB / 442.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.3228, allocations: 4.469 kB / 442.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007907/0.3236, allocations: 0.6524 MB / 442.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006076/0.3242, allocations: 134.3 kB / 443 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.3262, allocations: 1.006 MB / 444 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3265, allocations: 0.861 MB / 444.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.3267, allocations: 40.88 kB / 444.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3267, allocations: 3.5 kB / 444.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Templates: time 0.01768/0.3443, allocations: 14.68 MB / 459.6 MB, free: 5.895 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.297089554020204]