Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.001756/0.001756, allocations: 111.6 kB / 18.45 MB, free: 4.59 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.002336/0.002336, allocations: 215.2 kB / 21.42 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 207.6 MB / 231.8 MB, free: 4.234 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 55.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08606/0.08775, allocations: 49.12 MB / 391.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004251/0.092, allocations: 2.706 MB / 394.1 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.09341, allocations: 0.7563 MB / 394.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.09353, allocations: 4 kB / 394.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.09368, allocations: 35.58 kB / 394.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.09386, allocations: 87.27 kB / 395 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.09419, allocations: 115.7 kB / 395.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.09464, allocations: 374.5 kB / 395.5 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.09481, allocations: 72.48 kB / 395.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.09503, allocations: 147.5 kB / 395.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.09527, allocations: 171.3 kB / 395.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.449e-05/0.09532, allocations: 32 kB / 395.9 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.629e-05/0.09538, allocations: 36 kB / 395.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.09545, allocations: 67.75 kB / 396 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.09561, allocations: 155.3 kB / 396.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.09602, allocations: 366.6 kB / 396.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.09602, allocations: 0 / 396.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.09602, allocations: 0 / 396.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.09603, allocations: 0 / 396.5 MB, free: 3.613 MB / 318.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.001628/0.09766, allocations: 0.6801 MB / 397.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.0977, allocations: 15.91 kB / 397.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.475e-05/0.09777, allocations: 54.73 kB / 397.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.09784, allocations: 28.75 kB / 397.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.09823, allocations: 276.7 kB / 397.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.09826, allocations: 16.81 kB / 397.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.09831, allocations: 20.38 kB / 397.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008143/0.09912, allocations: 309.9 kB / 397.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.09914, allocations: 0 / 397.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.09917, allocations: 8 kB / 397.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.09918, allocations: 8 kB / 397.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.1002, allocations: 289.5 kB / 398.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.102, allocations: 0.9726 MB / 399.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.105, allocations: 482.2 kB / 399.6 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/0.1057, allocations: 205 kB / 399.8 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1057, allocations: 3.984 kB / 399.8 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006798/0.1064, allocations: 241.7 kB / 400.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.1064, allocations: 0 / 400.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001637/0.108, allocations: 465.2 kB / 400.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.1081, allocations: 106.8 kB / 400.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.1084, allocations: 233 kB / 400.9 MB, free: 15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.1084, allocations: 33.7 kB / 400.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1085, allocations: 160.3 kB / 401 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.1086, allocations: 67.39 kB / 401.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.1087, allocations: 49.94 kB / 401.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1089, allocations: 334.8 kB / 401.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.1094, allocations: 136.4 kB / 401.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.1099, allocations: 185.1 kB / 401.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.1109, allocations: 308.1 kB / 402.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1109, allocations: 3.938 kB / 402.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0012/0.1121, allocations: 410.8 kB / 402.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.1121, allocations: 41.59 kB / 402.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1122, allocations: 12.05 kB / 402.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1122, allocations: 4 kB / 402.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.114, allocations: 239.6 kB / 402.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005092/0.1191, allocations: 3.396 MB / 406.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.1195, allocations: 55.98 kB / 406.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.1195, allocations: 8 kB / 406.3 MB, free: 9.254 MB / 334.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.000187/0.1197, allocations: 145.7 kB / 406.4 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.1198, allocations: 23.86 kB / 406.4 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.266e-05/0.1199, allocations: 34.17 kB / 406.5 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1199, allocations: 4 kB / 406.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1199, allocations: 0 / 406.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1199, allocations: 7.922 kB / 406.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.1218, allocations: 0.8893 MB / 407.4 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1218, allocations: 4 kB / 407.4 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/0.1236, allocations: 227.7 kB / 407.6 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.1236, allocations: 7.984 kB / 407.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.1236, allocations: 8 kB / 407.6 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005014/0.1286, allocations: 3.416 MB / 411 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1286, allocations: 4.031 kB / 411 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.1303, allocations: 0.5868 MB / 411.6 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.392e-05/0.1304, allocations: 104.8 kB / 411.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.1305, allocations: 11.98 kB / 411.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.1308, allocations: 44.02 kB / 411.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.1309, allocations: 31.91 kB / 411.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.131, allocations: 4 kB / 411.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.1312, allocations: 172.5 kB / 412 MB, free: 3.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1312, allocations: 0 / 412 MB, free: 3.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005036/0.1317, allocations: 75.89 kB / 412 MB, free: 3.078 MB / 334.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.002076/0.1337, allocations: 1.155 MB / 413.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.1364, allocations: 0.5264 MB / 413.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1364, allocations: 4.062 kB / 413.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002056/0.1384, allocations: 347.6 kB / 414.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.1389, allocations: 49.55 kB / 414.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006191/0.1451, allocations: 3.13 MB / 417.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1455, allocations: 0.7518 MB / 418 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.1456, allocations: 21.95 kB / 418 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.1458, allocations: 79.41 kB / 418.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1458, allocations: 0 / 418.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.1802, allocations: 6.388 MB / 424.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.62, allocations: 20.03 kB / 424.5 MB, free: 6.383 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.csv --start-time 0 --stop-time 0.0002 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.97456e-08 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.477108695005882]