Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001829/0.001829, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002199/0.002199, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 47.91 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2649, allocations: 53.36 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003944/0.2689, allocations: 2.591 MB / 433.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.2702, allocations: 0.7128 MB / 434.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.2704, allocations: 4 kB / 434.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.2705, allocations: 43.56 kB / 434.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.2707, allocations: 91.2 kB / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.271, allocations: 123.7 kB / 434.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.2714, allocations: 382.5 kB / 435 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.2716, allocations: 56.89 kB / 435.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.2719, allocations: 159.5 kB / 435.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.2721, allocations: 159.3 kB / 435.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.2722, allocations: 32 kB / 435.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.2723, allocations: 36 kB / 435.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.305e-05/0.2724, allocations: 75.73 kB / 435.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.2725, allocations: 131.4 kB / 435.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.2729, allocations: 382.9 kB / 436 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2729, allocations: 0 / 436 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2729, allocations: 0 / 436 MB, free: 1.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.273, allocations: 4 kB / 436 MB, free: 1.645 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.00155/0.2745, allocations: 0.6125 MB / 436.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2745, allocations: 8.031 kB / 436.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.352e-05/0.2746, allocations: 58.72 kB / 436.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.2748, allocations: 36.75 kB / 436.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.2752, allocations: 217.1 kB / 437 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.2752, allocations: 16.81 kB / 437 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.2752, allocations: 20.33 kB / 437 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/0.276, allocations: 343.5 kB / 437.3 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.276, allocations: 0 / 437.3 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.276, allocations: 12 kB / 437.3 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.276, allocations: 4 kB / 437.3 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009635/0.277, allocations: 305.5 kB / 437.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.2787, allocations: 0.8587 MB / 438.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.2815, allocations: 498.1 kB / 439 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/0.2821, allocations: 200.7 kB / 439.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.2821, allocations: 8 kB / 439.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/0.2828, allocations: 270.4 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.2828, allocations: 0 / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00151/0.2843, allocations: 472.1 kB / 439.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.2844, allocations: 106.8 kB / 440 MB, free: 13.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.2846, allocations: 249 kB / 440.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.2847, allocations: 29.7 kB / 440.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.2848, allocations: 164.4 kB / 440.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/0.2849, allocations: 75.38 kB / 440.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.847e-05/0.285, allocations: 41.94 kB / 440.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2851, allocations: 334.8 kB / 440.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.2856, allocations: 170.1 kB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/0.2861, allocations: 239.6 kB / 441.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009132/0.287, allocations: 320.1 kB / 441.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2871, allocations: 0 / 441.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001133/0.2882, allocations: 444.5 kB / 442 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.2882, allocations: 37.77 kB / 442.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2882, allocations: 4 kB / 442.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2883, allocations: 0 / 442.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.2899, allocations: 267.6 kB / 442.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/0.2947, allocations: 3.224 MB / 445.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.2951, allocations: 59.92 kB / 445.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.2951, allocations: 8 kB / 445.6 MB, free: 7.504 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.0001846/0.2953, allocations: 145.7 kB / 445.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.2953, allocations: 27.81 kB / 445.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.2954, allocations: 34.05 kB / 445.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.2954, allocations: 8 kB / 445.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2954, allocations: 0 / 445.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2954, allocations: 0 / 445.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.2972, allocations: 0.8327 MB / 446.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.2972, allocations: 4 kB / 446.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.2989, allocations: 259.7 kB / 446.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.2989, allocations: 4 kB / 446.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.2989, allocations: 4 kB / 446.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004825/0.3037, allocations: 3.236 MB / 450.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3037, allocations: 4.062 kB / 450.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.3053, allocations: 0.6023 MB / 450.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.3054, allocations: 27.77 kB / 450.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.3054, allocations: 11.94 kB / 450.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.3058, allocations: 39.95 kB / 450.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3059, allocations: 27.89 kB / 450.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.3059, allocations: 15.98 kB / 450.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.3061, allocations: 172.5 kB / 451.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3061, allocations: 4.062 kB / 451.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004813/0.3066, allocations: 75.95 kB / 451.2 MB, free: 1.664 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.001888/0.3084, allocations: 1.166 MB / 452.3 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00249/0.3109, allocations: 0.5865 MB / 452.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3109, allocations: 4.125 kB / 452.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.3129, allocations: 379.6 kB / 453.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.3133, allocations: 32.42 kB / 453.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005836/0.3191, allocations: 3.298 MB / 456.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.3193, allocations: 146.1 kB / 456.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.3194, allocations: 17.95 kB / 456.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3195, allocations: 83.34 kB / 456.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3195, allocations: 0 / 456.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.3564, allocations: 7.378 MB / 464.2 MB, free: 4.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.72, allocations: 7.5 kB / 464.2 MB, free: 4.578 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 15.304217452183366]