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.0008/0.0008, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001046/0.001046, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9143/0.9143, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.773e-06/1.773e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.583e-05, allocations: 9.031 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003456/0.003472, allocations: 3.656 MB / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.005409, allocations: 1.558 MB / 329.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.005586, allocations: 11.94 kB / 329.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006612/0.006247, allocations: 266.6 kB / 330.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.006732, allocations: 306 kB / 330.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.007147, allocations: 276.4 kB / 330.6 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005305/0.007678, allocations: 0.747 MB / 331.4 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.007888, allocations: 117.5 kB / 331.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003788/0.008266, allocations: 411.1 kB / 331.9 MB, free: 8.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.008497, allocations: 239.3 kB / 332.1 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.008553, allocations: 55.94 kB / 332.2 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.008741, allocations: 103.9 kB / 332.3 MB, free: 8.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.008882, allocations: 147.5 kB / 332.4 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.009049, allocations: 203.5 kB / 332.6 MB, free: 7.816 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007268/0.009776, allocations: 0.7358 MB / 333.4 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.009779, allocations: 0 / 333.4 MB, free: 7.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.009782, allocations: 3.938 kB / 333.4 MB, free: 7.074 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.009794, allocations: 4 kB / 333.4 MB, free: 7.07 MB / 298.7 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.00136/0.01115, allocations: 0.8803 MB / 334.3 MB, free: 6.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.01119, allocations: 12.03 kB / 334.3 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.081e-05/0.01125, allocations: 78.7 kB / 334.4 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.0114, allocations: 84.5 kB / 334.4 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.01181, allocations: 351.5 kB / 334.8 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.01183, allocations: 29.38 kB / 334.8 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.01187, allocations: 40.38 kB / 334.8 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.0124, allocations: 0.5311 MB / 335.4 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.01241, allocations: 4 kB / 335.4 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.01244, allocations: 23.92 kB / 335.4 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.01245, allocations: 8 kB / 335.4 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.01288, allocations: 315.8 kB / 335.7 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.0146, allocations: 1.556 MB / 337.3 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.01512, allocations: 339.4 kB / 337.6 MB, free: 2.629 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.01533, allocations: 156.8 kB / 337.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.01536, allocations: 11.94 kB / 337.8 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003631/0.01572, allocations: 369.1 kB / 338.1 MB, free: 2.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/0.01572, allocations: 0 / 338.1 MB, free: 2.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001233/0.01696, allocations: 0.7197 MB / 338.9 MB, free: 1.309 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.01704, allocations: 166.2 kB / 339 MB, free: 1.109 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000407/0.01744, allocations: 0.5096 MB / 339.5 MB, free: 0.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.01747, allocations: 33.7 kB / 339.6 MB, free: 0.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.01764, allocations: 256.8 kB / 339.8 MB, free: 296 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.0177, allocations: 126.9 kB / 339.9 MB, free: 168 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.01779, allocations: 82.19 kB / 340 MB, free: 80 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.01792, allocations: 362.7 kB / 340.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.01809, allocations: 121 kB / 340.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.01835, allocations: 345.5 kB / 340.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.01867, allocations: 265.3 kB / 341.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01867, allocations: 0 / 341.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005426/0.01922, allocations: 488.9 kB / 341.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.01923, allocations: 4 kB / 341.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.01924, allocations: 8.094 kB / 341.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.01959, allocations: 151.3 kB / 341.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.01971, allocations: 47.84 kB / 341.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/0.0231, allocations: 6.202 MB / 348 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.02328, allocations: 60.14 kB / 348 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.0233, allocations: 20 kB / 348 MB, free: 7.48 MB / 314.7 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.0001708/0.02347, allocations: 189.2 kB / 348.2 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.02352, allocations: 51.67 kB / 348.3 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006123/0.02413, allocations: 0.4971 MB / 348.8 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.02414, allocations: 8 kB / 348.8 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.51e-07/0.02414, allocations: 0 / 348.8 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.02414, allocations: 3.984 kB / 348.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.02447, allocations: 412.4 kB / 349.2 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.02447, allocations: 3.984 kB / 349.2 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.02454, allocations: 27.98 kB / 349.2 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002364/0.02477, allocations: 159.3 kB / 349.4 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.02479, allocations: 4 kB / 349.4 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.02768, allocations: 5.924 MB / 355.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.02768, allocations: 4 kB / 355.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.0283, allocations: 0.5034 MB / 355.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.02842, allocations: 83.59 kB / 355.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.02845, allocations: 15.98 kB / 355.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.02858, allocations: 35.97 kB / 355.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.493e-05/0.02867, allocations: 51.91 kB / 356 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.0287, allocations: 15.98 kB / 356 MB, free: 14.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002574/0.02895, allocations: 371.1 kB / 356.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02895, allocations: 0 / 356.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004746/0.02943, allocations: 171.7 kB / 356.5 MB, free: 14.41 MB / 330.7 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.001555/0.03098, allocations: 1.406 MB / 358 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006859/0.03167, allocations: 0.795 MB / 358.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.03167, allocations: 0 / 358.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.03205, allocations: 0.6389 MB / 359.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.03238, allocations: 118.9 kB / 359.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.03632, allocations: 4.309 MB / 363.8 MB, free: 7.062 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.03649, allocations: 263.4 kB / 364.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.0366, allocations: 52.11 kB / 364.1 MB, free: 6.723 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.03674, allocations: 168.5 kB / 364.3 MB, free: 6.555 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03674, allocations: 0 / 364.3 MB, free: 6.555 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03614/0.07288, allocations: 15.52 MB / 379.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.287/8.36, allocations: 7.031 kB / 379.8 MB, free: 7.223 MB / 346.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/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: 10.217925563454628]