Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.001776/0.001776, allocations: 123.2 kB / 17.79 MB, free: 5.246 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.001851/0.001851, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.404/1.404, allocations: 225.6 MB / 249.1 MB, free: 3.609 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 51.92 kB / 365.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08583/0.08726, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.00376/0.09102, allocations: 2.746 MB / 420.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.09218, allocations: 0.7089 MB / 421.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.09229, allocations: 4 kB / 421.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.09241, allocations: 43.56 kB / 421.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.09258, allocations: 87.2 kB / 421.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.09285, allocations: 103.8 kB / 421.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.09326, allocations: 382.5 kB / 421.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.0934, allocations: 61.38 kB / 421.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.09362, allocations: 155.5 kB / 422.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.09383, allocations: 167.3 kB / 422.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.09389, allocations: 32 kB / 422.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.066e-05/0.09394, allocations: 32 kB / 422.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.839e-05/0.09401, allocations: 71.75 kB / 422.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.09416, allocations: 155.2 kB / 422.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.09456, allocations: 366.5 kB / 422.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.09456, allocations: 0 / 422.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09456, allocations: 4 kB / 422.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.09457, allocations: 3.984 kB / 422.9 MB, free: 7.477 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001496/0.09607, allocations: 0.6724 MB / 423.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.0961, allocations: 12.03 kB / 423.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.657e-05/0.09617, allocations: 54.73 kB / 423.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.09623, allocations: 32.75 kB / 423.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.0966, allocations: 268.9 kB / 423.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.09662, allocations: 20.8 kB / 423.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.09667, allocations: 24.33 kB / 424 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.09738, allocations: 313.7 kB / 424.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.09739, allocations: 4 kB / 424.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.09742, allocations: 12 kB / 424.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.09743, allocations: 4 kB / 424.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008796/0.09831, allocations: 293.5 kB / 424.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.09999, allocations: 0.961 MB / 425.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/0.1028, allocations: 486.2 kB / 426 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005884/0.1034, allocations: 196.7 kB / 426.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1034, allocations: 3.984 kB / 426.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005853/0.104, allocations: 237.7 kB / 426.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.744e-06/0.104, allocations: 0 / 426.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001414/0.1054, allocations: 467.7 kB / 426.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.1055, allocations: 106.8 kB / 427 MB, free: 3.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.1058, allocations: 233 kB / 427.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.1058, allocations: 29.7 kB / 427.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1059, allocations: 160.3 kB / 427.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.771e-05/0.106, allocations: 79.3 kB / 427.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.1061, allocations: 49.89 kB / 427.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1062, allocations: 330.8 kB / 427.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/0.1067, allocations: 144.4 kB / 428 MB, free: 2.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.1072, allocations: 176.9 kB / 428.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008546/0.108, allocations: 316.1 kB / 428.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.108, allocations: 3.938 kB / 428.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001039/0.1091, allocations: 402.9 kB / 428.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.1091, allocations: 37.69 kB / 428.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1091, allocations: 0 / 428.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1091, allocations: 3.984 kB / 428.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.1108, allocations: 243.7 kB / 429.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004804/0.1156, allocations: 3.4 MB / 432.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.116, allocations: 47.94 kB / 432.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.116, allocations: 12 kB / 432.6 MB, free: 13.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.1162, allocations: 141.7 kB / 432.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.1163, allocations: 23.86 kB / 432.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.257e-05/0.1163, allocations: 30.17 kB / 432.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.1163, allocations: 4 kB / 432.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1163, allocations: 0 / 432.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1163, allocations: 3.984 kB / 432.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.1181, allocations: 0.8916 MB / 433.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1181, allocations: 0 / 433.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.1198, allocations: 235.7 kB / 433.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1198, allocations: 4 kB / 433.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.1198, allocations: 7.969 kB / 433.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/0.1246, allocations: 3.412 MB / 437.4 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1246, allocations: 160 / 437.4 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.126, allocations: 0.5965 MB / 438 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.1261, allocations: 108.8 kB / 438.1 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.1262, allocations: 11.94 kB / 438.1 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.1265, allocations: 35.95 kB / 438.1 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.1266, allocations: 35.95 kB / 438.1 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.1266, allocations: 12 kB / 438.2 MB, free: 7.211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1268, allocations: 164.5 kB / 438.3 MB, free: 7.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1268, allocations: 0 / 438.3 MB, free: 7.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004447/0.1272, allocations: 79.95 kB / 438.4 MB, free: 6.977 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/0.129, allocations: 1.151 MB / 439.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002464/0.1315, allocations: 0.5224 MB / 440.1 MB, free: 5.254 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1315, allocations: 0 / 440.1 MB, free: 5.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.1334, allocations: 351.8 kB / 440.4 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.1338, allocations: 43.14 kB / 440.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/0.1394, allocations: 3.131 MB / 443.6 MB, free: 1.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.1397, allocations: 0.7519 MB / 444.3 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.1399, allocations: 29.94 kB / 444.4 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.14, allocations: 79.41 kB / 444.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.14, allocations: 0 / 444.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6566/0.7966, allocations: 6.388 MB / 450.8 MB, free: 30.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.27, allocations: 7.781 kB / 450.8 MB, free: 30.45 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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: 14.82179813971743]