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.0007834/0.0007834, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0007757/0.0007757, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.893/0.893, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.483e-06/1.483e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.473e-05, allocations: 6.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002468/0.002483, allocations: 2.6 MB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009859/0.003468, allocations: 0.7166 MB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.003577, allocations: 11.94 kB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.003692, allocations: 43.62 kB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.003822, allocations: 87.14 kB / 328 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.004137, allocations: 123.6 kB / 328.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.00443, allocations: 394.3 kB / 328.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.004568, allocations: 56.89 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.004847, allocations: 223.5 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.004979, allocations: 135.6 kB / 328.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.005015, allocations: 32 kB / 328.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.045e-05/0.005076, allocations: 39.98 kB / 329 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.449e-05/0.00512, allocations: 71.73 kB / 329 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.742e-05/0.005208, allocations: 111.7 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.005507, allocations: 398.8 kB / 329.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.005509, allocations: 0 / 329.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00551, allocations: 0 / 329.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.005517, allocations: 0 / 329.5 MB, free: 10.85 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009161/0.006433, allocations: 0.6087 MB / 330.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.006471, allocations: 19.97 kB / 330.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.00652, allocations: 50.73 kB / 330.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.006631, allocations: 44.72 kB / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.006891, allocations: 220.7 kB / 330.5 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.006909, allocations: 20.81 kB / 330.5 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.006942, allocations: 16.38 kB / 330.5 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.007386, allocations: 344.9 kB / 330.8 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.007395, allocations: 192 / 330.8 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.007418, allocations: 16.12 kB / 330.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.007423, allocations: 4 kB / 330.9 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.00792, allocations: 297.8 kB / 331.2 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.008957, allocations: 0.8709 MB / 332 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.01032, allocations: 490.2 kB / 332.5 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000408/0.01073, allocations: 204.7 kB / 332.7 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.01075, allocations: 0 / 332.7 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003728/0.01112, allocations: 263.5 kB / 333 MB, free: 7.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.01112, allocations: 7.938 kB / 333 MB, free: 7.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008423/0.01196, allocations: 469.5 kB / 333.4 MB, free: 6.766 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.01202, allocations: 118.8 kB / 333.5 MB, free: 6.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.01218, allocations: 241.8 kB / 333.8 MB, free: 6.383 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.0122, allocations: 37.64 kB / 333.8 MB, free: 6.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.01228, allocations: 156.5 kB / 334 MB, free: 6.184 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.01233, allocations: 71.38 kB / 334 MB, free: 6.113 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.0124, allocations: 49.92 kB / 334.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.01249, allocations: 334.8 kB / 334.4 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.01274, allocations: 170.1 kB / 334.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.01302, allocations: 235.7 kB / 334.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.0135, allocations: 316 kB / 335.1 MB, free: 4.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01351, allocations: 4 kB / 335.1 MB, free: 4.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005928/0.0141, allocations: 444.6 kB / 335.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.01413, allocations: 33.7 kB / 335.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01413, allocations: 0 / 335.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.01414, allocations: 3.938 kB / 335.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007745/0.01492, allocations: 271.7 kB / 335.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.01747, allocations: 3.216 MB / 339.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.01765, allocations: 51.88 kB / 339.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.01767, allocations: 15.98 kB / 339.1 MB, free: 0.6914 MB / 298.7 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.0001084/0.01778, allocations: 136.9 kB / 339.3 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.01781, allocations: 31.75 kB / 339.3 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.01784, allocations: 34.2 kB / 339.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01784, allocations: 4 kB / 339.3 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01784, allocations: 0 / 339.3 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.01785, allocations: 0 / 339.3 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.01893, allocations: 0.8301 MB / 340.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.01893, allocations: 11.98 kB / 340.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007652/0.0197, allocations: 251.7 kB / 340.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.0197, allocations: 4 kB / 340.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.01972, allocations: 4 kB / 340.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/0.02249, allocations: 3.244 MB / 343.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.0225, allocations: 0 / 343.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008221/0.02332, allocations: 0.6092 MB / 344.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.02334, allocations: 27.73 kB / 344.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.02337, allocations: 8 kB / 344.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.02353, allocations: 39.89 kB / 344.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.0236, allocations: 31.95 kB / 344.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.02362, allocations: 7.984 kB / 344.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.02373, allocations: 177.3 kB / 344.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02373, allocations: 0 / 344.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003228/0.02405, allocations: 87.83 kB / 344.7 MB, free: 10.86 MB / 314.7 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.001018/0.02507, allocations: 1.144 MB / 345.8 MB, free: 9.688 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.02631, allocations: 0.5943 MB / 346.4 MB, free: 9.074 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02631, allocations: 3.938 kB / 346.4 MB, free: 9.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.02749, allocations: 375.8 kB / 346.8 MB, free: 8.703 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.02776, allocations: 37.33 kB / 346.8 MB, free: 8.664 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.03107, allocations: 3.24 MB / 350.1 MB, free: 5.281 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.673e-05/0.03116, allocations: 142.2 kB / 350.2 MB, free: 5.125 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.893e-05/0.03125, allocations: 21.95 kB / 350.2 MB, free: 5.102 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.03135, allocations: 80.47 kB / 350.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03135, allocations: 0 / 350.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.05203, allocations: 7.499 MB / 357.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/7.713, allocations: 8 kB / 357.8 MB, free: 13.66 MB / 330.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.csv --start-time 0 --stop-time 0.0002 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.97456e-08 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] "" Variables in the reference:time,inductor.i,thyristor_v4_1.vControl Variables in the result:time,inductor.i,thyristor_v4_1.vControl [Calling sys.exit(0), Time elapsed: 9.527443023398519]