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.001931/0.001931, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002266/0.002266, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.609/1.609, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.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.002647/0.002647, allocations: 59.91 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3392, allocations: 49.15 MB / 396.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003709/0.3429, allocations: 2.721 MB / 399.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3442, allocations: 0.7534 MB / 399.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.3443, allocations: 7.312 kB / 399.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.3445, allocations: 36.95 kB / 399.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.3446, allocations: 90.2 kB / 400 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.345, allocations: 107.8 kB / 400.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.3455, allocations: 381 kB / 400.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.3457, allocations: 65.66 kB / 400.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.3459, allocations: 152.4 kB / 400.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.3462, allocations: 170.8 kB / 400.8 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.3463, allocations: 32.97 kB / 400.8 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.575e-05/0.3463, allocations: 32.69 kB / 400.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.088e-05/0.3464, allocations: 74.3 kB / 401 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.3466, allocations: 149.9 kB / 401.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.3471, allocations: 372.2 kB / 401.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3471, allocations: 4 kB / 401.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3471, allocations: 1.312 kB / 401.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.3471, allocations: 0 / 401.5 MB, free: 5.703 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.001599/0.3487, allocations: 0.5945 MB / 402.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3488, allocations: 12.98 kB / 402.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.953e-05/0.3488, allocations: 57.47 kB / 402.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.3489, allocations: 39.78 kB / 402.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.3493, allocations: 217.7 kB / 402.4 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.3493, allocations: 16.66 kB / 402.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.3494, allocations: 23.06 kB / 402.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/0.3502, allocations: 309.9 kB / 402.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3502, allocations: 0 / 402.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.3502, allocations: 7.75 kB / 402.7 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.3502, allocations: 4.562 kB / 402.7 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009203/0.3511, allocations: 297.9 kB / 403 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.3528, allocations: 0.9317 MB / 404 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/0.356, allocations: 484.6 kB / 404.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.3566, allocations: 196.1 kB / 404.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.3566, allocations: 11.11 kB / 404.6 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006362/0.3573, allocations: 241.8 kB / 404.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.625e-06/0.3573, allocations: 0 / 404.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001545/0.3588, allocations: 465 kB / 405.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.3589, allocations: 107.1 kB / 405.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.3591, allocations: 231.9 kB / 405.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.3592, allocations: 32.05 kB / 405.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.3592, allocations: 158.3 kB / 405.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.3593, allocations: 70 kB / 405.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-05/0.3594, allocations: 48.02 kB / 406 MB, free: 3.168 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.478e-05/0.3595, allocations: 336.2 kB / 406.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/0.3599, allocations: 135.5 kB / 406.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/0.3604, allocations: 182.5 kB / 406.6 MB, free: 2.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009041/0.3613, allocations: 316.9 kB / 406.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.3613, allocations: 1.375 kB / 406.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001048/0.3624, allocations: 409.1 kB / 407.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.3624, allocations: 35.98 kB / 407.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3624, allocations: 1.984 kB / 407.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.3624, allocations: 5.438 kB / 407.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.3643, allocations: 235.8 kB / 407.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004419/0.3687, allocations: 3.203 MB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.3692, allocations: 55.92 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.3692, allocations: 6.734 kB / 410.8 MB, free: 15.47 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.0002301/0.3695, allocations: 139 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.3695, allocations: 28.23 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.672e-05/0.3696, allocations: 29.64 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3696, allocations: 2.688 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3696, allocations: 5.188 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3696, allocations: 1.406 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.3716, allocations: 0.8638 MB / 411.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3716, allocations: 5.781 kB / 411.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/0.3734, allocations: 234.1 kB / 412.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3734, allocations: 1.344 kB / 412.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.3735, allocations: 2.469 kB / 412.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005486/0.3789, allocations: 3.21 MB / 415.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/0.3789, allocations: 5.094 kB / 415.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.3807, allocations: 0.5977 MB / 416 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.3808, allocations: 27.23 kB / 416 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.3808, allocations: 11.2 kB / 416 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.3812, allocations: 43.11 kB / 416 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3813, allocations: 29.61 kB / 416.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.3813, allocations: 5.531 kB / 416.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.3815, allocations: 170.8 kB / 416.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3815, allocations: 0 / 416.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005301/0.382, allocations: 78.02 kB / 416.3 MB, free: 10.93 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.002073/0.3841, allocations: 1.151 MB / 417.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002802/0.3869, allocations: 0.53 MB / 418 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3869, allocations: 128 / 418 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002125/0.389, allocations: 344 kB / 418.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.3896, allocations: 40.31 kB / 418.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/0.3963, allocations: 3.126 MB / 421.5 MB, free: 7.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.3967, allocations: 0.7459 MB / 422.2 MB, free: 6.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.3969, allocations: 29.72 kB / 422.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.3971, allocations: 79.56 kB / 422.3 MB, free: 6.523 MB / 334.1 MB Notification: Performance of SimCode: time 1.683e-06/0.3971, allocations: 0 / 422.3 MB, free: 6.523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0413/0.4384, allocations: 6.588 MB / 428.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.36, allocations: 3.938 kB / 428.9 MB, free: 1.711 MB / 334.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: 16.246764367999276]