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.001295/0.001295, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001398/0.001398, allocations: 207 kB / 23.73 MB, free: 4.387 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.00151/0.00151, allocations: 51.92 kB / 377.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2607, allocations: 53.38 MB / 431.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006016/0.2667, allocations: 3.657 MB / 434.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003048/0.2698, allocations: 1.543 MB / 436.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.2702, allocations: 11.94 kB / 436.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008501/0.271, allocations: 262.7 kB / 436.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007038/0.2717, allocations: 298.2 kB / 436.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005919/0.2723, allocations: 271 kB / 437.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007545/0.2731, allocations: 0.7279 MB / 437.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.2733, allocations: 113.4 kB / 438 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.2737, allocations: 287 kB / 438.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.2741, allocations: 286.7 kB / 438.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.862e-05/0.2741, allocations: 52 kB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.2744, allocations: 115.9 kB / 438.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.2745, allocations: 139.5 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.2748, allocations: 254.8 kB / 439.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008339/0.2756, allocations: 0.7274 MB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2756, allocations: 4 kB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2756, allocations: 0 / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.2756, allocations: 0 / 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.001645/0.2773, allocations: 0.8849 MB / 440.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2773, allocations: 12.03 kB / 440.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.358e-05/0.2774, allocations: 82.7 kB / 440.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.2776, allocations: 80.5 kB / 440.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005662/0.2782, allocations: 356.3 kB / 441.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.2782, allocations: 29.38 kB / 441.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/0.2783, allocations: 47.92 kB / 441.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008084/0.2791, allocations: 0.5268 MB / 441.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2791, allocations: 7.938 kB / 441.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.2791, allocations: 16 kB / 441.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.2791, allocations: 12 kB / 441.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005927/0.2797, allocations: 311.8 kB / 442.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.2821, allocations: 1.559 MB / 443.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006755/0.2828, allocations: 323.7 kB / 444 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.2831, allocations: 160.8 kB / 444.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.2831, allocations: 4 kB / 444.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005339/0.2837, allocations: 373.1 kB / 444.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.903e-06/0.2837, allocations: 0 / 444.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002057/0.2857, allocations: 0.7042 MB / 445.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.2859, allocations: 170.1 kB / 445.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.2865, allocations: 0.5096 MB / 445.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.2866, allocations: 37.7 kB / 446 MB, free: 7.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.2868, allocations: 260.7 kB / 446.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.2869, allocations: 127 kB / 446.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.287, allocations: 78.12 kB / 446.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.2872, allocations: 358.8 kB / 446.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.2875, allocations: 116.8 kB / 446.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.2879, allocations: 344.9 kB / 447.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.2884, allocations: 281.1 kB / 447.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2884, allocations: 3.938 kB / 447.5 MB, free: 5.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008372/0.2892, allocations: 481 kB / 448 MB, free: 5.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2892, allocations: 4 kB / 448 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2892, allocations: 3.938 kB / 448 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005251/0.2898, allocations: 167.5 kB / 448.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.29, allocations: 47.84 kB / 448.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005691/0.2957, allocations: 6.214 MB / 454.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.296, allocations: 55.7 kB / 454.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.296, allocations: 12.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.0002481/0.2963, allocations: 189.1 kB / 454.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.2964, allocations: 63.59 kB / 454.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.2974, allocations: 0.4893 MB / 455.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.2974, allocations: 4 kB / 455.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2974, allocations: 3.984 kB / 455.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2974, allocations: 4 kB / 455.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.2979, allocations: 416.2 kB / 455.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2979, allocations: 0 / 455.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.2981, allocations: 35.92 kB / 455.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004173/0.2985, allocations: 151.3 kB / 455.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.2985, allocations: 12 kB / 455.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005402/0.3039, allocations: 5.927 MB / 461.7 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3039, allocations: 0 / 461.7 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3049, allocations: 0.5112 MB / 462.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.3051, allocations: 83.5 kB / 462.3 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.3052, allocations: 12 kB / 462.3 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.3055, allocations: 32.03 kB / 462.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.3056, allocations: 55.89 kB / 462.4 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.3056, allocations: 8 kB / 462.4 MB, free: 5.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004692/0.3061, allocations: 375 kB / 462.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3061, allocations: 3.938 kB / 462.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007436/0.3068, allocations: 175.8 kB / 463 MB, free: 5.168 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.002908/0.3098, allocations: 1.406 MB / 464.4 MB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.311, allocations: 0.7872 MB / 465.2 MB, free: 3.066 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.311, allocations: 4.188 kB / 465.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000765/0.3118, allocations: 0.6391 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.0005309/0.3123, allocations: 113.8 kB / 465.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00658/0.3189, allocations: 4.296 MB / 470.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.3192, allocations: 263.4 kB / 470.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.3194, allocations: 52.17 kB / 470.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.3197, allocations: 175.4 kB / 470.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3197, allocations: 0 / 470.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0609/0.3806, allocations: 15.37 MB / 486.1 MB, free: 14.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.15, allocations: 18.23 kB / 486.1 MB, free: 14.16 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.805464650969952]