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.001768/0.001768, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00242/0.00242, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.47/1.47, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.002027/0.002027, allocations: 63.89 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2582, allocations: 53.41 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004079/0.2622, allocations: 2.595 MB / 433.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.2638, allocations: 0.7168 MB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.264, allocations: 4 kB / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.2641, allocations: 39.58 kB / 434.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.2643, allocations: 91.2 kB / 434.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.2647, allocations: 111.8 kB / 434.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004607/0.2652, allocations: 394.5 kB / 435.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.2654, allocations: 58.58 kB / 435.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.2657, allocations: 159.5 kB / 435.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.2659, allocations: 159.3 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.266, allocations: 32 kB / 435.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.939e-05/0.266, allocations: 36 kB / 435.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.2661, allocations: 71.75 kB / 435.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.2663, allocations: 135.5 kB / 435.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.2667, allocations: 374.5 kB / 436.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2667, allocations: 0 / 436.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2667, allocations: 11.94 kB / 436.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.2667, allocations: 0 / 436.1 MB, free: 1.465 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.001521/0.2683, allocations: 0.6087 MB / 436.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.2683, allocations: 11.98 kB / 436.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.134e-05/0.2684, allocations: 54.73 kB / 436.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.2686, allocations: 40.73 kB / 436.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.269, allocations: 225 kB / 437 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.269, allocations: 16.81 kB / 437.1 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.2691, allocations: 20.38 kB / 437.1 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007772/0.2699, allocations: 335.6 kB / 437.4 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.2699, allocations: 0 / 437.4 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.2699, allocations: 15.94 kB / 437.4 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2699, allocations: 8 kB / 437.4 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009499/0.2709, allocations: 293.5 kB / 437.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.2726, allocations: 0.8627 MB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002755/0.2754, allocations: 0.4903 MB / 439.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/0.276, allocations: 200.7 kB / 439.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.276, allocations: 0 / 439.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006915/0.2767, allocations: 275 kB / 439.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.804e-06/0.2767, allocations: 0 / 439.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001554/0.2783, allocations: 476.3 kB / 440 MB, free: 13.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.2784, allocations: 106.8 kB / 440.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.2786, allocations: 245 kB / 440.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.2787, allocations: 29.7 kB / 440.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.2788, allocations: 160.5 kB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.2789, allocations: 75.36 kB / 440.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.279, allocations: 45.94 kB / 440.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2791, allocations: 334.8 kB / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004944/0.2796, allocations: 174 kB / 441.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.2802, allocations: 239.6 kB / 441.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009007/0.2811, allocations: 316.7 kB / 441.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2811, allocations: 0 / 441.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001234/0.2823, allocations: 448.6 kB / 442.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/0.2823, allocations: 41.69 kB / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2824, allocations: 0 / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2824, allocations: 0 / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.284, allocations: 267.6 kB / 442.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004722/0.2888, allocations: 3.22 MB / 445.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.2892, allocations: 51.88 kB / 445.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.2892, allocations: 8 kB / 445.7 MB, free: 7.332 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.0002089/0.2894, allocations: 153.8 kB / 445.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.2894, allocations: 27.81 kB / 445.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.238e-05/0.2895, allocations: 34.09 kB / 445.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2895, allocations: 4 kB / 445.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.2895, allocations: 0 / 445.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2895, allocations: 0 / 445.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.2913, allocations: 0.8339 MB / 446.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2913, allocations: 0 / 446.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/0.2929, allocations: 259.6 kB / 447 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2929, allocations: 8 kB / 447 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.293, allocations: 7.984 kB / 447 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004584/0.2976, allocations: 3.224 MB / 450.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.2976, allocations: 0 / 450.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.2991, allocations: 0.6081 MB / 450.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.2992, allocations: 31.75 kB / 450.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.2992, allocations: 8 kB / 450.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.2995, allocations: 39.95 kB / 450.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.2996, allocations: 31.95 kB / 451 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.2997, allocations: 12 kB / 451 MB, free: 1.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.2999, allocations: 172.5 kB / 451.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2999, allocations: 0 / 451.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004578/0.3003, allocations: 75.95 kB / 451.2 MB, free: 1.504 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.001879/0.3022, allocations: 1.17 MB / 452.4 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.3047, allocations: 0.5827 MB / 453 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3047, allocations: 4 kB / 453 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.3067, allocations: 375.7 kB / 453.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.3071, allocations: 48.33 kB / 453.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005943/0.313, allocations: 3.288 MB / 456.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.3132, allocations: 154 kB / 456.8 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.3133, allocations: 25.95 kB / 456.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.3135, allocations: 79.41 kB / 456.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3135, allocations: 0 / 456.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04695/0.3604, allocations: 7.371 MB / 464.3 MB, free: 4.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.03, allocations: 3.094 kB / 464.3 MB, free: 4.363 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.623320989776403]