Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001313/0.001313, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001422/0.001422, allocations: 207.5 kB / 23.73 MB, free: 4.379 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.46/1.46, 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.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 43.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2709, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005863/0.2768, allocations: 3.653 MB / 434.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.28, allocations: 1.554 MB / 436.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003246/0.2804, allocations: 15.88 kB / 436.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008679/0.2812, allocations: 258.4 kB / 436.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008677/0.2821, allocations: 306.1 kB / 436.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007504/0.2828, allocations: 271.4 kB / 437.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008666/0.2837, allocations: 0.7202 MB / 437.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.284, allocations: 117.4 kB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.2844, allocations: 294.9 kB / 438.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.2848, allocations: 306.8 kB / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.301e-05/0.2849, allocations: 56 kB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.2851, allocations: 115.9 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.2853, allocations: 139.5 kB / 438.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.2856, allocations: 250.8 kB / 439.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008906/0.2864, allocations: 0.7235 MB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2865, allocations: 0 / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2865, allocations: 0 / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.2865, allocations: 4 kB / 439.8 MB, free: 13.84 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001719/0.2882, allocations: 0.8926 MB / 440.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2882, allocations: 11.97 kB / 440.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.997e-05/0.2883, allocations: 78.72 kB / 440.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.2885, allocations: 84.44 kB / 440.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.2892, allocations: 360.3 kB / 441.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.2892, allocations: 29.38 kB / 441.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.2893, allocations: 43.92 kB / 441.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008365/0.2901, allocations: 0.5268 MB / 441.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2902, allocations: 0 / 441.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.2902, allocations: 20 kB / 441.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2902, allocations: 12 kB / 441.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/0.2908, allocations: 315.8 kB / 442.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.2932, allocations: 1.551 MB / 443.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.2939, allocations: 323.8 kB / 444 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.2942, allocations: 163.5 kB / 444.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.2942, allocations: 7.938 kB / 444.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005044/0.2947, allocations: 365.2 kB / 444.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.807e-06/0.2947, allocations: 7.922 kB / 444.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002028/0.2968, allocations: 0.712 MB / 445.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.2969, allocations: 170.1 kB / 445.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006353/0.2975, allocations: 0.5096 MB / 446 MB, free: 7.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.2976, allocations: 37.7 kB / 446 MB, free: 7.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.2978, allocations: 256.8 kB / 446.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.2979, allocations: 127 kB / 446.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.298, allocations: 74.12 kB / 446.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2982, allocations: 362.8 kB / 446.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.2985, allocations: 116.8 kB / 446.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.2989, allocations: 344.9 kB / 447.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.2994, allocations: 281.1 kB / 447.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2994, allocations: 4 kB / 447.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008535/0.3002, allocations: 481 kB / 448 MB, free: 5.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3002, allocations: 4 kB / 448 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3002, allocations: 0 / 448 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005215/0.3008, allocations: 167.4 kB / 448.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.301, allocations: 43.91 kB / 448.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/0.3066, allocations: 6.214 MB / 454.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.307, allocations: 55.75 kB / 454.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.307, allocations: 12 kB / 454.5 MB, free: 14.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002867/0.3073, allocations: 193.3 kB / 454.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-05/0.3074, allocations: 63.59 kB / 454.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.3085, allocations: 0.4932 MB / 455.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.3085, allocations: 4 kB / 455.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.3085, allocations: 0 / 455.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3085, allocations: 4 kB / 455.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005469/0.309, allocations: 424.2 kB / 455.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.309, allocations: 0 / 455.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.3092, allocations: 27.92 kB / 455.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/0.3096, allocations: 159.4 kB / 455.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.3096, allocations: 12 kB / 455.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00534/0.315, allocations: 5.911 MB / 461.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.315, allocations: 12.08 kB / 461.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.3161, allocations: 0.5073 MB / 462.3 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.3163, allocations: 83.5 kB / 462.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.3164, allocations: 8 kB / 462.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.3167, allocations: 35.97 kB / 462.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.3168, allocations: 55.89 kB / 462.5 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.3169, allocations: 8 kB / 462.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000487/0.3174, allocations: 375 kB / 462.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3174, allocations: 0 / 462.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007867/0.3182, allocations: 175.8 kB / 463 MB, free: 5.172 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00285/0.321, allocations: 1.406 MB / 464.4 MB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.3223, allocations: 0.7872 MB / 465.2 MB, free: 3.066 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3223, allocations: 0 / 465.2 MB, free: 3.066 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008131/0.3231, allocations: 0.6431 MB / 465.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.3238, allocations: 120.4 kB / 466 MB, free: 2.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006807/0.3306, allocations: 4.283 MB / 470.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.3309, allocations: 267.4 kB / 470.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000221/0.3311, allocations: 52.17 kB / 470.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.3314, allocations: 171.4 kB / 470.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3314, allocations: 4 kB / 470.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06713/0.3985, allocations: 15.48 MB / 486.2 MB, free: 14.06 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.97, allocations: 11.5 kB / 486.2 MB, free: 14.05 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00118765 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable IdealThyristor1.off in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor1.off from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable IdealThyristor2.off in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor2.off from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable booleanStep1.y in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable booleanStep1.y from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.634446759009734]