Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 118.7 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00199/0.00199, allocations: 210.6 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 67.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1151, allocations: 53.31 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004629/0.1198, allocations: 2.781 MB / 429.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1212, allocations: 0.7556 MB / 430.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.1214, allocations: 7.938 kB / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.1215, allocations: 43.56 kB / 430.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.1217, allocations: 87.2 kB / 430.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.1221, allocations: 115.8 kB / 430.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.1226, allocations: 382.5 kB / 430.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.1228, allocations: 64.7 kB / 430.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.1231, allocations: 151.5 kB / 431 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.1233, allocations: 175.3 kB / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.1233, allocations: 32 kB / 431.2 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.44e-05/0.1234, allocations: 36 kB / 431.3 MB, free: 364 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.1235, allocations: 75.69 kB / 431.4 MB, free: 288 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.1237, allocations: 159.3 kB / 431.5 MB, free: 128 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2193/0.343, allocations: 373.9 kB / 431.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.343, allocations: 1.125 kB / 431.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.343, allocations: 0 / 431.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.343, allocations: 1.062 kB / 431.9 MB, free: 8.422 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001725/0.3447, allocations: 0.6861 MB / 432.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.3448, allocations: 9.125 kB / 432.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.184e-05/0.3449, allocations: 58.98 kB / 432.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.3451, allocations: 44.19 kB / 432.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.3456, allocations: 275.5 kB / 432.9 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.3456, allocations: 12.91 kB / 433 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.3457, allocations: 26.2 kB / 433 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/0.3465, allocations: 317.8 kB / 433.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3466, allocations: 0 / 433.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.3466, allocations: 7.969 kB / 433.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3466, allocations: 4.562 kB / 433.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.3475, allocations: 302.4 kB / 433.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.3492, allocations: 0.9662 MB / 434.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/0.352, allocations: 494.7 kB / 435 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006122/0.3526, allocations: 206.1 kB / 435.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.3527, allocations: 5.312 kB / 435.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000638/0.3533, allocations: 245.1 kB / 435.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.3533, allocations: 1.062 kB / 435.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001612/0.3549, allocations: 471.8 kB / 436 MB, free: 6.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.355, allocations: 106.3 kB / 436.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.3553, allocations: 236.4 kB / 436.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.3553, allocations: 32.69 kB / 436.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.3555, allocations: 169.6 kB / 436.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.3555, allocations: 76.08 kB / 436.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.3556, allocations: 45.58 kB / 436.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.3557, allocations: 335.9 kB / 436.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.3562, allocations: 145.4 kB / 437.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.3567, allocations: 184.2 kB / 437.3 MB, free: 6.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009836/0.3577, allocations: 312.5 kB / 437.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3577, allocations: 2.062 kB / 437.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001197/0.3589, allocations: 415.8 kB / 438 MB, free: 6.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.359, allocations: 41.08 kB / 438 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.359, allocations: 1.156 kB / 438 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.359, allocations: 1.594 kB / 438 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.3609, allocations: 266.3 kB / 438.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004267/0.3651, allocations: 3.434 MB / 441.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.3656, allocations: 55.67 kB / 441.8 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.3656, allocations: 11.17 kB / 441.8 MB, free: 3 MB / 350.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.0001896/0.3658, allocations: 151.2 kB / 441.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.3659, allocations: 28.55 kB / 441.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.3659, allocations: 29.7 kB / 442 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3659, allocations: 4.031 kB / 442 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3659, allocations: 1.125 kB / 442 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3659, allocations: 2.078 kB / 442 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.3676, allocations: 0.9038 MB / 442.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.3676, allocations: 2.75 kB / 442.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/0.3695, allocations: 262.1 kB / 443.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3695, allocations: 2.203 kB / 443.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.3695, allocations: 3.609 kB / 443.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004504/0.374, allocations: 3.451 MB / 446.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.374, allocations: 2 kB / 446.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.3756, allocations: 0.6009 MB / 447.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3757, allocations: 105.9 kB / 447.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.3758, allocations: 10.92 kB / 447.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.3761, allocations: 41.11 kB / 447.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.3762, allocations: 28.33 kB / 447.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.3763, allocations: 6.094 kB / 447.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.3765, allocations: 172.7 kB / 447.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3765, allocations: 1.594 kB / 447.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005295/0.377, allocations: 84.42 kB / 447.6 MB, free: 14.76 MB / 366.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.001983/0.379, allocations: 1.158 MB / 448.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002605/0.3816, allocations: 0.5647 MB / 449.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3816, allocations: 0 / 449.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002049/0.3836, allocations: 379.2 kB / 449.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.3841, allocations: 46.08 kB / 449.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/0.3902, allocations: 3.172 MB / 453 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.3906, allocations: 0.7514 MB / 453.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.3908, allocations: 23.94 kB / 453.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.3909, allocations: 87.62 kB / 453.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3909, allocations: 1.156 kB / 453.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.4255, allocations: 6.502 MB / 460.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.45, allocations: 7.906 kB / 460.3 MB, free: 8.848 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 15.08603024482727]