Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 191.7 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 225.7 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 51.92 kB / 371.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2712, allocations: 52.19 MB / 423.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.004242/0.2754, allocations: 2.76 MB / 426.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.2767, allocations: 0.7089 MB / 426.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.2768, allocations: 4 kB / 426.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.2769, allocations: 43.56 kB / 426.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.2771, allocations: 83.27 kB / 427 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.2774, allocations: 111.7 kB / 427.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.2778, allocations: 382.5 kB / 427.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.278, allocations: 56.89 kB / 427.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.2782, allocations: 151.5 kB / 427.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.2785, allocations: 179.3 kB / 427.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/0.2785, allocations: 32 kB / 427.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.134e-05/0.2786, allocations: 32 kB / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.501e-05/0.2787, allocations: 67.81 kB / 428 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.2788, allocations: 155.2 kB / 428.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.2792, allocations: 371.4 kB / 428.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2792, allocations: 0 / 428.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2792, allocations: 3.938 kB / 428.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.2792, allocations: 0 / 428.5 MB, free: 9.504 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.001487/0.2807, allocations: 0.6009 MB / 429.1 MB, free: 8.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2807, allocations: 12.03 kB / 429.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.467e-05/0.2808, allocations: 8.562 kB / 429.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.949e-05/0.2808, allocations: 54.73 kB / 429.2 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.2809, allocations: 32.75 kB / 429.2 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.2813, allocations: 218.8 kB / 429.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.2813, allocations: 12.81 kB / 429.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.2813, allocations: 32.31 kB / 429.5 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007358/0.2821, allocations: 309.7 kB / 429.8 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2821, allocations: 0 / 429.8 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.2821, allocations: 7.938 kB / 429.8 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.2821, allocations: 8 kB / 429.8 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009161/0.283, allocations: 289.5 kB / 430.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.2847, allocations: 0.9211 MB / 431 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.2875, allocations: 486.2 kB / 431.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006344/0.2881, allocations: 196.7 kB / 431.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.2881, allocations: 15.95 kB / 431.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006667/0.2888, allocations: 236.7 kB / 431.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.2888, allocations: 0 / 431.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001544/0.2904, allocations: 468 kB / 432.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.2904, allocations: 106.8 kB / 432.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.2907, allocations: 229 kB / 432.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.2907, allocations: 33.7 kB / 432.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.2909, allocations: 160.4 kB / 432.9 MB, free: 4.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.409e-05/0.2909, allocations: 67.42 kB / 433 MB, free: 4.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.291, allocations: 57.89 kB / 433 MB, free: 4.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.2913, allocations: 330.8 kB / 433.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004815/0.2918, allocations: 132.4 kB / 433.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.2923, allocations: 185.4 kB / 433.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009218/0.2932, allocations: 312.1 kB / 434 MB, free: 3.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2932, allocations: 0 / 434 MB, free: 3.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001121/0.2943, allocations: 406.8 kB / 434.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.2944, allocations: 29.7 kB / 434.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2944, allocations: 8.062 kB / 434.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2944, allocations: 0 / 434.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.2961, allocations: 235.6 kB / 434.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.3008, allocations: 3.194 MB / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.3012, allocations: 55.98 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.3013, allocations: 11.98 kB / 437.9 MB, free: 15.63 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.0001899/0.3014, allocations: 141.7 kB / 438 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.3015, allocations: 23.86 kB / 438.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/0.3016, allocations: 34.11 kB / 438.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3016, allocations: 7.984 kB / 438.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.3016, allocations: 0 / 438.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3016, allocations: 3.938 kB / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.3034, allocations: 0.8651 MB / 439 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3034, allocations: 7.938 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/0.305, allocations: 231.7 kB / 439.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.305, allocations: 4 kB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.305, allocations: 0 / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004865/0.3099, allocations: 3.22 MB / 442.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3099, allocations: 0 / 442.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.3115, allocations: 0.5868 MB / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.3116, allocations: 27.77 kB / 443 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.3117, allocations: 7.984 kB / 443 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.312, allocations: 44.02 kB / 443.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.3121, allocations: 35.89 kB / 443.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.3121, allocations: 4 kB / 443.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.3123, allocations: 172.5 kB / 443.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3123, allocations: 0 / 443.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004949/0.3128, allocations: 71.95 kB / 443.4 MB, free: 9.844 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.001973/0.3148, allocations: 1.156 MB / 444.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.3174, allocations: 0.5224 MB / 445 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3174, allocations: 4.062 kB / 445 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.3193, allocations: 350.2 kB / 445.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.3198, allocations: 47.67 kB / 445.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006033/0.3258, allocations: 3.135 MB / 448.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.3262, allocations: 0.7634 MB / 449.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.3263, allocations: 29.92 kB / 449.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.3265, allocations: 79.41 kB / 449.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3265, allocations: 0 / 449.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.3571, allocations: 6.607 MB / 456 MB, free: 13.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.65, allocations: 0 / 456 MB, free: 13.17 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.16858317097649]