Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000965/0.000965, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8804/0.8804, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.459e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005037/0.005062, allocations: 3.611 MB / 322.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.006847, allocations: 1.39 MB / 323.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.007068, allocations: 7.938 kB / 323.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006757/0.007744, allocations: 262.7 kB / 323.7 MB, free: 1.055 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004631/0.008207, allocations: 284.5 kB / 324 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.008732, allocations: 281.9 kB / 324.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005697/0.009302, allocations: 0.7355 MB / 325 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.009505, allocations: 113.5 kB / 325.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.009848, allocations: 403.1 kB / 325.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.01009, allocations: 239.3 kB / 325.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.45e-05/0.01015, allocations: 52 kB / 325.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.01031, allocations: 103.9 kB / 325.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.01043, allocations: 143.5 kB / 326 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.01058, allocations: 199.5 kB / 326.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.01118, allocations: 0.728 MB / 327 MB, free: 13.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01118, allocations: 0 / 327 MB, free: 13.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01118, allocations: 0 / 327 MB, free: 13.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.01119, allocations: 0 / 327 MB, free: 13.8 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.001377/0.01257, allocations: 0.8732 MB / 327.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.559e-05/0.01263, allocations: 20.91 kB / 327.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.455e-05/0.01272, allocations: 74.72 kB / 327.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.01283, allocations: 68.52 kB / 328 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008706/0.0137, allocations: 347.6 kB / 328.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.01373, allocations: 29.38 kB / 328.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.01378, allocations: 40.38 kB / 328.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.01438, allocations: 0.5272 MB / 328.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.0144, allocations: 4 kB / 328.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.01443, allocations: 16 kB / 328.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.01443, allocations: 12 kB / 329 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.01484, allocations: 319.7 kB / 329.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.01643, allocations: 1.552 MB / 330.8 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.01695, allocations: 338.9 kB / 331.1 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.01717, allocations: 160.8 kB / 331.3 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.0172, allocations: 7.938 kB / 331.3 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003716/0.01757, allocations: 361.2 kB / 331.7 MB, free: 8.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.686e-06/0.01757, allocations: 0 / 331.7 MB, free: 8.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0013/0.01887, allocations: 0.7159 MB / 332.4 MB, free: 8.074 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/0.01895, allocations: 166.2 kB / 332.5 MB, free: 7.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/0.01936, allocations: 0.4979 MB / 333 MB, free: 7.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.01938, allocations: 33.7 kB / 333.1 MB, free: 7.332 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.01952, allocations: 260.8 kB / 333.3 MB, free: 7.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.813e-05/0.01959, allocations: 126.9 kB / 333.5 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.01968, allocations: 78.16 kB / 333.5 MB, free: 6.859 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.0198, allocations: 366.7 kB / 333.9 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.01997, allocations: 120.9 kB / 334 MB, free: 6.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.02022, allocations: 341.5 kB / 334.3 MB, free: 5.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.02055, allocations: 273.1 kB / 334.6 MB, free: 5.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02055, allocations: 0 / 334.6 MB, free: 5.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005508/0.0211, allocations: 480.9 kB / 335.1 MB, free: 5.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.02112, allocations: 8 kB / 335.1 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.02112, allocations: 0 / 335.1 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006659/0.02179, allocations: 163.4 kB / 335.2 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.02192, allocations: 39.92 kB / 335.3 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/0.02529, allocations: 6.206 MB / 341.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.02552, allocations: 63.73 kB / 341.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.02553, allocations: 12.12 kB / 341.6 MB, free: 14.27 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.0001968/0.02573, allocations: 188.4 kB / 341.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.02578, allocations: 51.67 kB / 341.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009368/0.02672, allocations: 0.5046 MB / 342.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.02672, allocations: 4 kB / 342.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.02672, allocations: 0 / 342.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.02673, allocations: 11.98 kB / 342.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.0271, allocations: 408.3 kB / 342.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.0271, allocations: 0 / 342.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.881e-05/0.02718, allocations: 35.97 kB / 342.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002579/0.02744, allocations: 151.3 kB / 342.9 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.02746, allocations: 7.984 kB / 342.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00298/0.03044, allocations: 5.93 MB / 348.8 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.03044, allocations: 0 / 348.8 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009287/0.03137, allocations: 0.5033 MB / 349.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.03151, allocations: 83.55 kB / 349.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.03155, allocations: 4 kB / 349.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.0317, allocations: 40.03 kB / 349.5 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.03184, allocations: 51.84 kB / 349.5 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.03187, allocations: 12 kB / 349.5 MB, free: 5.727 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000311/0.03218, allocations: 363.1 kB / 349.9 MB, free: 5.371 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03218, allocations: 0 / 349.9 MB, free: 5.371 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006006/0.03278, allocations: 175.7 kB / 350.1 MB, free: 5.199 MB / 314.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.00149/0.03427, allocations: 1.401 MB / 351.5 MB, free: 3.945 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008245/0.03509, allocations: 0.7794 MB / 352.2 MB, free: 3.113 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.0351, allocations: 192 / 352.2 MB, free: 3.113 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.03556, allocations: 0.6391 MB / 352.9 MB, free: 2.422 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.03595, allocations: 132.6 kB / 353 MB, free: 2.297 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004485/0.04044, allocations: 4.263 MB / 357.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.04065, allocations: 271 kB / 357.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.0408, allocations: 56.03 kB / 357.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.04095, allocations: 164.5 kB / 357.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.04095, allocations: 0 / 357.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/0.07771, allocations: 15.38 MB / 373.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.167, allocations: 3.094 kB / 373.1 MB, free: 14.18 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor1.off from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable IdealThyristor2.off in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor2.off from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable booleanStep1.y in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable booleanStep1.y from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.083620837889612]