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.001398/0.001398, allocations: 114 kB / 20.43 MB, free: 1.457 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.001503/0.001503, allocations: 213.1 kB / 23.74 MB, free: 4.672 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.38/1.38, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.001958/0.001958, allocations: 75.81 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2529, allocations: 53.39 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004225/0.2572, allocations: 2.801 MB / 434 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.2587, allocations: 0.7634 MB / 434.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.2589, allocations: 7.938 kB / 434.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.259, allocations: 35.58 kB / 434.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.2593, allocations: 95.25 kB / 434.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.2596, allocations: 115.7 kB / 435 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.2601, allocations: 382.5 kB / 435.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2603, allocations: 64.88 kB / 435.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.2606, allocations: 163.4 kB / 435.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.2609, allocations: 171.3 kB / 435.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.261, allocations: 32 kB / 435.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.095e-05/0.2611, allocations: 36 kB / 435.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.2611, allocations: 75.75 kB / 435.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.2613, allocations: 155.2 kB / 436.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.2618, allocations: 382.9 kB / 436.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2618, allocations: 0 / 436.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2618, allocations: 0 / 436.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.2618, allocations: 0 / 436.4 MB, free: 1.426 MB / 334.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.001636/0.2635, allocations: 0.6087 MB / 437 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2635, allocations: 12.03 kB / 437 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.218e-05/0.2636, allocations: 54.73 kB / 437.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.2638, allocations: 44.73 kB / 437.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.2642, allocations: 217 kB / 437.4 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.2642, allocations: 12.81 kB / 437.4 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.2643, allocations: 28.33 kB / 437.4 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007589/0.265, allocations: 309.9 kB / 437.7 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.265, allocations: 0 / 437.7 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.2651, allocations: 15.98 kB / 437.7 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2651, allocations: 4 kB / 437.7 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009619/0.266, allocations: 301.5 kB / 438 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.2678, allocations: 0.9288 MB / 438.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.2708, allocations: 494.2 kB / 439.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006413/0.2714, allocations: 204 kB / 439.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.2715, allocations: 4 kB / 439.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006358/0.2721, allocations: 249.2 kB / 439.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.2721, allocations: 0 / 439.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001497/0.2736, allocations: 476.3 kB / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.2737, allocations: 110.8 kB / 440.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.2739, allocations: 241.1 kB / 440.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.274, allocations: 33.7 kB / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.2741, allocations: 156.5 kB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.405e-05/0.2742, allocations: 79.3 kB / 440.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2743, allocations: 49.88 kB / 441 MB, free: 12.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2745, allocations: 338.8 kB / 441.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/0.2749, allocations: 144.3 kB / 441.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.2754, allocations: 180.2 kB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008965/0.2763, allocations: 316.7 kB / 441.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2763, allocations: 4 kB / 442 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001104/0.2774, allocations: 418.8 kB / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.2775, allocations: 36.36 kB / 442.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2775, allocations: 0 / 442.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2775, allocations: 4 kB / 442.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.2793, allocations: 271.6 kB / 442.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/0.2842, allocations: 3.232 MB / 445.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.2846, allocations: 56 kB / 446 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.2847, allocations: 15.98 kB / 446 MB, free: 7.391 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.0001791/0.2848, allocations: 137.8 kB / 446.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.2849, allocations: 23.86 kB / 446.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.589e-05/0.285, allocations: 30.11 kB / 446.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.285, allocations: 7.938 kB / 446.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.285, allocations: 4 kB / 446.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.285, allocations: 0 / 446.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.2868, allocations: 0.8768 MB / 447 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2868, allocations: 0 / 447 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.2885, allocations: 255.6 kB / 447.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.2885, allocations: 4 kB / 447.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.2886, allocations: 7.984 kB / 447.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004701/0.2933, allocations: 3.24 MB / 450.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2933, allocations: 0 / 450.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.2947, allocations: 0.6118 MB / 451.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.68e-05/0.2948, allocations: 27.88 kB / 451.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.2949, allocations: 12 kB / 451.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.2952, allocations: 39.95 kB / 451.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.083e-05/0.2953, allocations: 23.95 kB / 451.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.2953, allocations: 12 kB / 451.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.2955, allocations: 176.5 kB / 451.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2955, allocations: 0 / 451.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004914/0.296, allocations: 79.89 kB / 451.5 MB, free: 1.523 MB / 350.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.001831/0.2978, allocations: 1.163 MB / 452.7 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.3004, allocations: 0.5604 MB / 453.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3004, allocations: 4 kB / 453.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002004/0.3024, allocations: 371.8 kB / 453.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3028, allocations: 48.33 kB / 453.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/0.3085, allocations: 3.18 MB / 456.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.309, allocations: 0.7518 MB / 457.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.3091, allocations: 25.95 kB / 457.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.3093, allocations: 79.41 kB / 457.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3093, allocations: 0 / 457.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03695/0.3462, allocations: 6.684 MB / 464.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.86, allocations: 6.812 kB / 464.4 MB, free: 4.613 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/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] Reference file matches [Calling sys.exit(0), Time elapsed: 15.265879422891885]