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.001332/0.001332, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002482/0.002482, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.42/1.42, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001577/0.001577, allocations: 55.91 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.09775, allocations: 53.32 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004798/0.1025, allocations: 2.783 MB / 429.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1044, allocations: 0.7518 MB / 429.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003175/0.1047, allocations: 7.938 kB / 429.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.1049, allocations: 39.56 kB / 429.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.1053, allocations: 95.2 kB / 430 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.1057, allocations: 111.8 kB / 430.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.1062, allocations: 382.5 kB / 430.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1064, allocations: 60.7 kB / 430.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.1067, allocations: 163.5 kB / 430.7 MB, free: 368 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.1069, allocations: 171.3 kB / 430.9 MB, free: 196 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.509e-05/0.107, allocations: 32 kB / 430.9 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.251e-05/0.1071, allocations: 39.94 kB / 430.9 MB, free: 124 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.1071, allocations: 79.73 kB / 431 MB, free: 44 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1854/0.2925, allocations: 152.4 kB / 431.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005445/0.293, allocations: 376.4 kB / 431.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.293, allocations: 1.344 kB / 431.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.293, allocations: 0 / 431.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.2931, allocations: 0 / 431.5 MB, free: 7.996 MB / 350.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.001439/0.2945, allocations: 0.6907 MB / 432.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.2945, allocations: 9.719 kB / 432.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.2946, allocations: 55.03 kB / 432.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.2948, allocations: 41.56 kB / 432.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.2951, allocations: 275.3 kB / 432.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.2952, allocations: 17.53 kB / 432.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.2952, allocations: 21.61 kB / 432.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.296, allocations: 316.7 kB / 432.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.296, allocations: 2.5 kB / 432.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.296, allocations: 13.31 kB / 433 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.296, allocations: 7.438 kB / 433 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009042/0.2969, allocations: 301.5 kB / 433.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.2984, allocations: 0.9568 MB / 434.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/0.3013, allocations: 493.8 kB / 434.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000628/0.3019, allocations: 209.8 kB / 434.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3019, allocations: 4.172 kB / 434.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007116/0.3026, allocations: 242 kB / 435.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.944e-06/0.3026, allocations: 0 / 435.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001551/0.3042, allocations: 476.3 kB / 435.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.3042, allocations: 106.9 kB / 435.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.3045, allocations: 234.4 kB / 435.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.3045, allocations: 35.48 kB / 436 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.3046, allocations: 166.5 kB / 436.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.3046, allocations: 71.59 kB / 436.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.3047, allocations: 45.45 kB / 436.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.3048, allocations: 335.5 kB / 436.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.3053, allocations: 142.7 kB / 436.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.3058, allocations: 183.7 kB / 436.9 MB, free: 5.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008811/0.3067, allocations: 313.9 kB / 437.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3067, allocations: 0.9688 kB / 437.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00109/0.3078, allocations: 415.8 kB / 437.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.3078, allocations: 38.02 kB / 437.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3078, allocations: 0 / 437.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3078, allocations: 2.344 kB / 437.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.3096, allocations: 268.6 kB / 437.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/0.3137, allocations: 3.442 MB / 441.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.3142, allocations: 55.02 kB / 441.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.3142, allocations: 6.469 kB / 441.4 MB, free: 2.578 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.0001523/0.3143, allocations: 151.3 kB / 441.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.3144, allocations: 24.64 kB / 441.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/0.3144, allocations: 31.45 kB / 441.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3145, allocations: 3.656 kB / 441.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3145, allocations: 3.172 kB / 441.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3145, allocations: 5.734 kB / 441.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.3162, allocations: 0.8978 MB / 442.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3162, allocations: 2.047 kB / 442.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.3179, allocations: 263 kB / 442.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3179, allocations: 2.094 kB / 442.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.318, allocations: 7.359 kB / 442.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00444/0.3224, allocations: 3.452 MB / 446.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3224, allocations: 1.188 kB / 446.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.3241, allocations: 0.6001 MB / 446.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.3242, allocations: 101.5 kB / 447 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.3243, allocations: 12.25 kB / 447 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.3246, allocations: 48.47 kB / 447 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3247, allocations: 26.97 kB / 447 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.3248, allocations: 11.22 kB / 447 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.325, allocations: 171.6 kB / 447.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.325, allocations: 6.406 kB / 447.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.3255, allocations: 79.92 kB / 447.3 MB, free: 14.26 MB / 366.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.001943/0.3274, allocations: 1.156 MB / 448.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002566/0.33, allocations: 0.5648 MB / 449 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.33, allocations: 0 / 449 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.3319, allocations: 380.7 kB / 449.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.3323, allocations: 36.88 kB / 449.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005956/0.3383, allocations: 3.171 MB / 452.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.3387, allocations: 0.754 MB / 453.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.3388, allocations: 28.39 kB / 453.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.339, allocations: 80.06 kB / 453.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.339, allocations: 3.938 kB / 453.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.3739, allocations: 6.5 MB / 460 MB, free: 8.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.86, allocations: 16.52 kB / 460 MB, free: 8.34 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 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.mat","/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: 14.30638465192169]