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.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.00165/0.00165, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002043/0.002043, allocations: 208.6 kB / 24.49 MB, free: 4.059 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.561/1.561, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 59.94 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3159, allocations: 49.16 MB / 396.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003976/0.3199, allocations: 2.73 MB / 399.1 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3213, allocations: 0.7496 MB / 399.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.3215, allocations: 3.5 kB / 399.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.3217, allocations: 40.47 kB / 399.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.322, allocations: 90.48 kB / 400 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.3224, allocations: 104 kB / 400.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004841/0.3229, allocations: 381.1 kB / 400.4 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.323, allocations: 60.5 kB / 400.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.3233, allocations: 153.7 kB / 400.6 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.3236, allocations: 171.1 kB / 400.8 MB, free: 6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.992e-05/0.3237, allocations: 33.78 kB / 400.8 MB, free: 6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.987e-05/0.3238, allocations: 31.97 kB / 400.9 MB, free: 6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.3238, allocations: 74.09 kB / 400.9 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.324, allocations: 162 kB / 401.1 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.3245, allocations: 366.9 kB / 401.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3245, allocations: 0 / 401.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3245, allocations: 1.5 kB / 401.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.3245, allocations: 0 / 401.5 MB, free: 5.707 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.001693/0.3262, allocations: 0.5984 MB / 402.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3263, allocations: 14.09 kB / 402.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.511e-05/0.3263, allocations: 54.38 kB / 402.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.154e-05/0.3264, allocations: 32.19 kB / 402.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.3268, allocations: 214.9 kB / 402.4 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.3268, allocations: 19.25 kB / 402.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.3269, allocations: 17.53 kB / 402.4 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008155/0.3277, allocations: 314.8 kB / 402.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3277, allocations: 0 / 402.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.3277, allocations: 10.22 kB / 402.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3277, allocations: 5.781 kB / 402.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009397/0.3287, allocations: 294.8 kB / 403 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.3307, allocations: 0.9311 MB / 403.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/0.3339, allocations: 483.2 kB / 404.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.3346, allocations: 201.2 kB / 404.6 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.3346, allocations: 2.219 kB / 404.6 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006851/0.3353, allocations: 243 kB / 404.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.625e-06/0.3353, allocations: 0 / 404.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001586/0.3369, allocations: 459.8 kB / 405.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.3369, allocations: 115.8 kB / 405.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.3372, allocations: 231 kB / 405.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.3372, allocations: 36.08 kB / 405.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3374, allocations: 159 kB / 405.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.3374, allocations: 74.28 kB / 405.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.3376, allocations: 48.7 kB / 406 MB, free: 3.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3377, allocations: 334.8 kB / 406.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.3382, allocations: 135.6 kB / 406.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.3387, allocations: 178.5 kB / 406.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009124/0.3396, allocations: 317.4 kB / 406.9 MB, free: 2.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3396, allocations: 3.938 kB / 406.9 MB, free: 2.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001166/0.3408, allocations: 408.5 kB / 407.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.3408, allocations: 37.55 kB / 407.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3408, allocations: 1.859 kB / 407.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3409, allocations: 1.281 kB / 407.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.3427, allocations: 236.4 kB / 407.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004381/0.3471, allocations: 3.199 MB / 410.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.3476, allocations: 49.8 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.3476, allocations: 12.17 kB / 410.8 MB, free: 15.48 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.0002325/0.3478, allocations: 138 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.3479, allocations: 32.89 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.502e-05/0.348, allocations: 29.83 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.348, allocations: 3.797 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.348, allocations: 0 / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.348, allocations: 2.172 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.3499, allocations: 0.8728 MB / 411.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3499, allocations: 5 kB / 411.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/0.3518, allocations: 222.4 kB / 412.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.3518, allocations: 1.062 kB / 412.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.3518, allocations: 11.33 kB / 412.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/0.3569, allocations: 3.206 MB / 415.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.3569, allocations: 5.047 kB / 415.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.3586, allocations: 0.5986 MB / 416 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.3587, allocations: 34.47 kB / 416 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.3587, allocations: 6.531 kB / 416 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.3591, allocations: 38.73 kB / 416 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.3592, allocations: 29.7 kB / 416.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.3592, allocations: 13.39 kB / 416.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.3594, allocations: 163.5 kB / 416.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3594, allocations: 0 / 416.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005127/0.3599, allocations: 82.42 kB / 416.3 MB, free: 10.92 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.001952/0.3618, allocations: 1.151 MB / 417.5 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002675/0.3645, allocations: 0.5287 MB / 418 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3645, allocations: 4.969 kB / 418 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.3666, allocations: 351.7 kB / 418.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.3671, allocations: 32.86 kB / 418.4 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006357/0.3735, allocations: 3.13 MB / 421.5 MB, free: 7.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.3739, allocations: 0.7489 MB / 422.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.3741, allocations: 21.17 kB / 422.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.3742, allocations: 80.62 kB / 422.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3742, allocations: 0 / 422.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05925/0.4335, allocations: 6.579 MB / 428.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/13.98, allocations: 4 kB / 428.9 MB, free: 1.684 MB / 334.1 MB " [Timeout remaining time 646] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 16.739656884921715]