Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001747/0.001747, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002215/0.002215, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 64.09 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2432, allocations: 53.41 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004194/0.2474, allocations: 2.796 MB / 434 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.2488, allocations: 0.7595 MB / 434.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.249, allocations: 4 kB / 434.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.2491, allocations: 39.58 kB / 434.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.2493, allocations: 91.2 kB / 434.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.2497, allocations: 119.7 kB / 435 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004346/0.2501, allocations: 382.5 kB / 435.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.2503, allocations: 64.89 kB / 435.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.2506, allocations: 159.5 kB / 435.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.2509, allocations: 171.3 kB / 435.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.773e-05/0.2509, allocations: 32 kB / 435.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.251, allocations: 43.98 kB / 435.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.2511, allocations: 71.7 kB / 435.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.2513, allocations: 163.2 kB / 436.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.2518, allocations: 382.9 kB / 436.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2518, allocations: 0 / 436.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2518, allocations: 0 / 436.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.2518, allocations: 0 / 436.4 MB, free: 1.406 MB / 334.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.001645/0.2534, allocations: 0.6126 MB / 437 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.2535, allocations: 12.03 kB / 437.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.287e-05/0.2536, allocations: 50.73 kB / 437.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.2537, allocations: 44.73 kB / 437.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.2541, allocations: 213.1 kB / 437.4 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.2542, allocations: 16.81 kB / 437.4 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.268e-05/0.2542, allocations: 28.31 kB / 437.4 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007686/0.255, allocations: 317.8 kB / 437.7 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.255, allocations: 0 / 437.7 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.255, allocations: 8 kB / 437.7 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2551, allocations: 8 kB / 437.7 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009372/0.256, allocations: 297.6 kB / 438 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.2577, allocations: 0.9366 MB / 439 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.2607, allocations: 494.1 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006075/0.2613, allocations: 200.7 kB / 439.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.2613, allocations: 4 kB / 439.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006196/0.2619, allocations: 247.5 kB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.2619, allocations: 4 kB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00147/0.2634, allocations: 476.3 kB / 440.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.2635, allocations: 110.8 kB / 440.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.2637, allocations: 237 kB / 440.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.2637, allocations: 29.7 kB / 440.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.2639, allocations: 164.5 kB / 440.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/0.2639, allocations: 83.3 kB / 441 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.54e-05/0.264, allocations: 41.94 kB / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2642, allocations: 334.8 kB / 441.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.2646, allocations: 144.4 kB / 441.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.2651, allocations: 180.2 kB / 441.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009013/0.266, allocations: 324.7 kB / 442 MB, free: 11.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.266, allocations: 0 / 442 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001071/0.2671, allocations: 414.8 kB / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.2671, allocations: 33.69 kB / 442.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.2671, allocations: 0 / 442.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2672, allocations: 4 kB / 442.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.269, allocations: 263.7 kB / 442.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004827/0.2738, allocations: 3.24 MB / 445.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003748/0.2742, allocations: 59.75 kB / 446 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.2742, allocations: 8 kB / 446 MB, free: 7.375 MB / 350.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.0001676/0.2743, allocations: 145.7 kB / 446.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.2744, allocations: 27.92 kB / 446.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/0.2745, allocations: 30.11 kB / 446.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2745, allocations: 8 kB / 446.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2745, allocations: 0 / 446.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2745, allocations: 0 / 446.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.2762, allocations: 0.8794 MB / 447 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2762, allocations: 4 kB / 447.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/0.278, allocations: 255.7 kB / 447.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.278, allocations: 4 kB / 447.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.278, allocations: 4 kB / 447.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004716/0.2828, allocations: 3.248 MB / 450.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2828, allocations: 0 / 450.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.2843, allocations: 0.6092 MB / 451.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.2843, allocations: 27.83 kB / 451.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.2844, allocations: 4 kB / 451.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.2847, allocations: 43.94 kB / 451.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/0.2848, allocations: 32.02 kB / 451.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.2848, allocations: 8 kB / 451.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.285, allocations: 176.5 kB / 451.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.285, allocations: 0 / 451.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004594/0.2854, allocations: 79.89 kB / 451.5 MB, free: 1.492 MB / 350.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.001853/0.2873, allocations: 1.155 MB / 452.7 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002588/0.2899, allocations: 0.5643 MB / 453.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2899, allocations: 0 / 453.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.2919, allocations: 379.8 kB / 453.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.2923, allocations: 39.98 kB / 453.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005852/0.2982, allocations: 3.18 MB / 456.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.2986, allocations: 0.7557 MB / 457.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.2987, allocations: 29.92 kB / 457.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.2988, allocations: 83.41 kB / 457.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2988, allocations: 0 / 457.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.3331, allocations: 6.677 MB / 464.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.7, allocations: 3.859 kB / 464.4 MB, free: 4.59 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.302279763000115]