Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.001697/0.001697, allocations: 119.8 kB / 18.45 MB, free: 4.457 MB / 14.72 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.001742/0.001742, allocations: 190.9 kB / 21.39 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 207.6 MB / 231.8 MB, free: 3.906 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 55.92 kB / 342.3 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.09103, allocations: 49.12 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003928/0.09496, allocations: 2.714 MB / 394.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.0962, allocations: 0.7447 MB / 394.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.09632, allocations: 0 / 394.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.09648, allocations: 43.58 kB / 394.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.09666, allocations: 95.19 kB / 395 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.09698, allocations: 103.8 kB / 395.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003913/0.09737, allocations: 378.5 kB / 395.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.09752, allocations: 68.5 kB / 395.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.09773, allocations: 147.5 kB / 395.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.09795, allocations: 175.3 kB / 395.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.09801, allocations: 32 kB / 395.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.373e-05/0.09806, allocations: 36 kB / 395.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.09814, allocations: 71.73 kB / 396 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.0983, allocations: 151.2 kB / 396.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.0987, allocations: 366.6 kB / 396.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.09871, allocations: 0 / 396.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09871, allocations: 0 / 396.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.09871, allocations: 0 / 396.5 MB, free: 3.59 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001546/0.1003, allocations: 0.684 MB / 397.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1003, allocations: 8.031 kB / 397.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.993e-05/0.1004, allocations: 58.67 kB / 397.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.1004, allocations: 28.75 kB / 397.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.1008, allocations: 272.7 kB / 397.5 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.1008, allocations: 20.81 kB / 397.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.1009, allocations: 16.38 kB / 397.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/0.1016, allocations: 313.8 kB / 397.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1016, allocations: 0 / 397.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.1017, allocations: 8 kB / 397.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1017, allocations: 8 kB / 397.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008952/0.1026, allocations: 289.5 kB / 398.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.1042, allocations: 0.9726 MB / 399.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.1071, allocations: 478.2 kB / 399.6 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005791/0.1077, allocations: 205 kB / 399.8 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.1077, allocations: 4 kB / 399.8 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005978/0.1083, allocations: 241.7 kB / 400 MB, free: 15.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 3.266e-06/0.1083, allocations: 3.984 kB / 400 MB, free: 15.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001407/0.1097, allocations: 461.2 kB / 400.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.1098, allocations: 106.8 kB / 400.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.11, allocations: 237 kB / 400.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.1101, allocations: 37.73 kB / 400.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.1102, allocations: 160.3 kB / 401 MB, free: 14.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.1103, allocations: 71.38 kB / 401.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1104, allocations: 49.92 kB / 401.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1105, allocations: 338.8 kB / 401.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004495/0.111, allocations: 136.4 kB / 401.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.1114, allocations: 181.2 kB / 401.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000841/0.1123, allocations: 304.1 kB / 402.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1123, allocations: 0 / 402.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00103/0.1133, allocations: 422.8 kB / 402.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.1133, allocations: 33.61 kB / 402.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1133, allocations: 0 / 402.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1134, allocations: 4 kB / 402.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.1151, allocations: 239.7 kB / 402.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004759/0.1199, allocations: 3.396 MB / 406.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.1202, allocations: 55.83 kB / 406.2 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.1202, allocations: 4 kB / 406.2 MB, free: 9.242 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.1204, allocations: 150 kB / 406.4 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.1204, allocations: 23.86 kB / 406.4 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.1205, allocations: 30.19 kB / 406.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1205, allocations: 0 / 406.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1205, allocations: 3.984 kB / 406.4 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1205, allocations: 7.984 kB / 406.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.1222, allocations: 0.9048 MB / 407.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1222, allocations: 0 / 407.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/0.1239, allocations: 231.8 kB / 407.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1239, allocations: 0 / 407.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.1239, allocations: 8 kB / 407.6 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004699/0.1286, allocations: 3.416 MB / 411 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1286, allocations: 0 / 411 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.1301, allocations: 0.5906 MB / 411.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.1302, allocations: 108.9 kB / 411.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.1302, allocations: 8 kB / 411.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.1306, allocations: 39.95 kB / 411.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.1306, allocations: 27.97 kB / 411.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.1307, allocations: 4 kB / 411.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.1308, allocations: 176.5 kB / 411.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1308, allocations: 0 / 411.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004409/0.1313, allocations: 75.89 kB / 412 MB, free: 3.062 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00181/0.1331, allocations: 1.151 MB / 413.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.1356, allocations: 0.538 MB / 413.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1356, allocations: 0 / 413.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.1375, allocations: 347.8 kB / 414 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.138, allocations: 41.61 kB / 414.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005595/0.1436, allocations: 3.133 MB / 417.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.1439, allocations: 0.748 MB / 417.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.1441, allocations: 29.88 kB / 418 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.1442, allocations: 79.41 kB / 418.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1442, allocations: 0 / 418.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.1777, allocations: 6.392 MB / 424.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.56, allocations: 8.016 kB / 424.5 MB, free: 6.367 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.905371466185898]