Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001858/0.001858, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002324/0.002324, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 47.92 kB / 377.8 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2306, allocations: 53.36 MB / 431.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004293/0.2349, allocations: 2.805 MB / 433.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2364, allocations: 0.7518 MB / 434.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.2366, allocations: 4 kB / 434.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.2368, allocations: 43.56 kB / 434.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.237, allocations: 91.2 kB / 434.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.2374, allocations: 115.8 kB / 434.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004763/0.2379, allocations: 386.5 kB / 435.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.2381, allocations: 68.83 kB / 435.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.2384, allocations: 159.5 kB / 435.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.2386, allocations: 175.3 kB / 435.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.2387, allocations: 32 kB / 435.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.511e-05/0.2387, allocations: 39.94 kB / 435.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.082e-05/0.2388, allocations: 75.81 kB / 435.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.239, allocations: 155.2 kB / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.2394, allocations: 386.9 kB / 436.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2394, allocations: 0 / 436.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2394, allocations: 0 / 436.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.2394, allocations: 0 / 436.4 MB, free: 1.613 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.001587/0.241, allocations: 0.6048 MB / 437 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2411, allocations: 12.03 kB / 437 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.656e-05/0.2411, allocations: 54.72 kB / 437.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.2413, allocations: 44.75 kB / 437.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.2417, allocations: 213.1 kB / 437.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.2417, allocations: 20.8 kB / 437.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.2417, allocations: 24.33 kB / 437.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.2425, allocations: 317.8 kB / 437.7 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2425, allocations: 0 / 437.7 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.2425, allocations: 12 kB / 437.7 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2425, allocations: 4 kB / 437.7 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009478/0.2435, allocations: 297.5 kB / 438 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.2452, allocations: 0.9249 MB / 438.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.2482, allocations: 498.1 kB / 439.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/0.2488, allocations: 200.7 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.2488, allocations: 4 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006397/0.2495, allocations: 246.7 kB / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.2495, allocations: 0 / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001528/0.251, allocations: 480.3 kB / 440.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.2511, allocations: 102.8 kB / 440.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.2513, allocations: 241 kB / 440.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.2514, allocations: 33.73 kB / 440.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.2515, allocations: 160.5 kB / 440.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/0.2516, allocations: 79.31 kB / 440.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.2517, allocations: 41.94 kB / 440.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2518, allocations: 334.8 kB / 441.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.2523, allocations: 152.3 kB / 441.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.2528, allocations: 180.2 kB / 441.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009115/0.2537, allocations: 312.1 kB / 441.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2537, allocations: 0 / 441.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001099/0.2548, allocations: 418.9 kB / 442.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.2549, allocations: 33.64 kB / 442.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2549, allocations: 3.938 kB / 442.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2549, allocations: 4 kB / 442.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.2568, allocations: 267.7 kB / 442.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004995/0.2618, allocations: 3.248 MB / 445.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.2622, allocations: 59.98 kB / 445.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.2622, allocations: 8 kB / 445.9 MB, free: 7.586 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.0001801/0.2624, allocations: 141.7 kB / 446.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.2624, allocations: 23.86 kB / 446.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/0.2625, allocations: 30.11 kB / 446.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2625, allocations: 4 kB / 446.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.2625, allocations: 4 kB / 446.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.2625, allocations: 3.984 kB / 446.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.2643, allocations: 0.8651 MB / 447 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2643, allocations: 8.062 kB / 447 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/0.2662, allocations: 259.6 kB / 447.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2662, allocations: 0 / 447.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.2662, allocations: 8 kB / 447.3 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004973/0.2712, allocations: 3.24 MB / 450.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2712, allocations: 4 kB / 450.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.2728, allocations: 0.6068 MB / 451.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.2728, allocations: 31.81 kB / 451.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.2729, allocations: 8.062 kB / 451.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.2732, allocations: 39.95 kB / 451.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.2733, allocations: 31.89 kB / 451.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.2733, allocations: 7.984 kB / 451.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.2735, allocations: 172.5 kB / 451.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2735, allocations: 8 kB / 451.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004791/0.274, allocations: 79.89 kB / 451.5 MB, free: 1.707 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.001925/0.2759, allocations: 1.153 MB / 452.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.2787, allocations: 0.5654 MB / 453.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2787, allocations: 4 kB / 453.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.2809, allocations: 375.7 kB / 453.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.2813, allocations: 50.89 kB / 453.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005959/0.2872, allocations: 3.185 MB / 456.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.2876, allocations: 0.7479 MB / 457.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.2878, allocations: 25.95 kB / 457.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.2879, allocations: 87.39 kB / 457.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2879, allocations: 0 / 457.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03687/0.3248, allocations: 6.675 MB / 464.3 MB, free: 4.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/12.98, allocations: 0 / 464.3 MB, free: 4.84 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.527949528070167]