Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001951/0.001951, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002229/0.002229, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.397/1.397, allocations: 230.4 MB / 254 MB, free: 15.02 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.CharacteristicThyristors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09798, allocations: 53.38 MB / 426.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005217/0.1032, allocations: 4.013 MB / 430.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2068/0.31, allocations: 1.628 MB / 432 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003303/0.3103, allocations: 14.56 kB / 432 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000719/0.311, allocations: 244.2 kB / 432.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005793/0.3116, allocations: 303.2 kB / 432.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.3121, allocations: 263.5 kB / 432.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.3127, allocations: 0.7303 MB / 433.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.3129, allocations: 129.6 kB / 433.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.3133, allocations: 290.8 kB / 434 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.3136, allocations: 307.7 kB / 434.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.745e-05/0.3136, allocations: 50.38 kB / 434.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.3139, allocations: 105.3 kB / 434.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.314, allocations: 148.9 kB / 434.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.3142, allocations: 302.9 kB / 434.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000772/0.315, allocations: 0.7197 MB / 435.6 MB, free: 6.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.315, allocations: 4.453 kB / 435.6 MB, free: 6.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.315, allocations: 3.938 kB / 435.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.315, allocations: 1.562 kB / 435.6 MB, free: 6.922 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.001448/0.3165, allocations: 0.9592 MB / 436.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3165, allocations: 9.156 kB / 436.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.062e-05/0.3166, allocations: 81.19 kB / 436.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.3168, allocations: 83.36 kB / 436.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.3173, allocations: 431.6 kB / 437.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.3173, allocations: 31.25 kB / 437.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.3174, allocations: 38.09 kB / 437.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.3181, allocations: 448.6 kB / 437.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3181, allocations: 0.5 kB / 437.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.3182, allocations: 17.83 kB / 437.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.3182, allocations: 10.06 kB / 437.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005821/0.3188, allocations: 315.2 kB / 438 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.3209, allocations: 1.698 MB / 439.7 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.3215, allocations: 324.5 kB / 440 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.3218, allocations: 162.6 kB / 440.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.3219, allocations: 8.875 kB / 440.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000413/0.3223, allocations: 259.3 kB / 440.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.623e-06/0.3223, allocations: 1.062 kB / 440.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002042/0.3243, allocations: 1.014 MB / 441.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.3244, allocations: 189.3 kB / 441.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.325, allocations: 0.4998 MB / 442.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.325, allocations: 38.16 kB / 442.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.3252, allocations: 253.1 kB / 442.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.486e-05/0.3253, allocations: 134.6 kB / 442.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.3254, allocations: 80.38 kB / 442.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.3255, allocations: 362.1 kB / 443 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.3258, allocations: 125.4 kB / 443.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.3261, allocations: 216.6 kB / 443.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.3266, allocations: 268.9 kB / 443.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3266, allocations: 5.828 kB / 443.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007767/0.3274, allocations: 470.9 kB / 444 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3274, allocations: 5.719 kB / 444 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3274, allocations: 0 / 444 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004948/0.3279, allocations: 157.2 kB / 444.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.3281, allocations: 53.86 kB / 444.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00555/0.3336, allocations: 6.659 MB / 450.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/0.3342, allocations: 53.81 kB / 450.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.3343, allocations: 14.55 kB / 451 MB, free: 11.07 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.0003628/0.3346, allocations: 186.3 kB / 451.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.3348, allocations: 62.7 kB / 451.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.3349, allocations: 62.45 kB / 451.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.3349, allocations: 7.766 kB / 451.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3349, allocations: 1.094 kB / 451.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.3349, allocations: 1.969 kB / 451.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/0.3357, allocations: 494.3 kB / 451.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3357, allocations: 1.734 kB / 451.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.3358, allocations: 28.23 kB / 451.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/0.3363, allocations: 159.1 kB / 451.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.3363, allocations: 7.156 kB / 451.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00552/0.3418, allocations: 6.366 MB / 458.3 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3418, allocations: 0 / 458.3 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.343, allocations: 0.4987 MB / 458.8 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.3433, allocations: 158.1 kB / 459 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.3433, allocations: 13.67 kB / 459 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.3436, allocations: 34.59 kB / 459 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.3438, allocations: 49.59 kB / 459.1 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.3438, allocations: 16.8 kB / 459.1 MB, free: 3.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005297/0.3444, allocations: 369.5 kB / 459.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3444, allocations: 0 / 459.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008799/0.3452, allocations: 168.8 kB / 459.6 MB, free: 3.605 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,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * 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.002804/0.348, allocations: 1.377 MB / 461 MB, free: 2.707 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.3494, allocations: 0.7876 MB / 461.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3494, allocations: 1.375 kB / 461.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007793/0.3502, allocations: 0.643 MB / 462.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.3508, allocations: 110.8 kB / 462.5 MB, free: 1.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/0.3574, allocations: 4.295 MB / 466.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.358, allocations: 0.8639 MB / 467.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002678/0.3582, allocations: 52.45 kB / 467.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.3585, allocations: 175 kB / 467.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3585, allocations: 0 / 467.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07385/0.4323, allocations: 14.62 MB / 482.5 MB, free: 6.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.34, allocations: 3.438 kB / 482.5 MB, free: 6.078 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor1.off from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable IdealThyristor2.off in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor2.off from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable booleanStep1.y in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable booleanStep1.y from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.984503439045511]