Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.007397/0.007397, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.001836/0.001836, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 55.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2209, allocations: 49.16 MB / 397.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003018/0.2239, allocations: 2.728 MB / 399.9 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2249, allocations: 0.7492 MB / 400.6 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.225, allocations: 7.656 kB / 400.6 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.2252, allocations: 40.34 kB / 400.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.2253, allocations: 89.55 kB / 400.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.2256, allocations: 104.5 kB / 400.9 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.226, allocations: 376.9 kB / 401.2 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.2261, allocations: 68.02 kB / 401.3 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.2263, allocations: 163.1 kB / 401.4 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.2265, allocations: 162.7 kB / 401.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.115e-05/0.2266, allocations: 32.78 kB / 401.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.2266, allocations: 32.97 kB / 401.7 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.2267, allocations: 68.8 kB / 401.7 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.2268, allocations: 159.1 kB / 401.9 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.2272, allocations: 366.3 kB / 402.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2272, allocations: 1.406 kB / 402.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2272, allocations: 0 / 402.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.2272, allocations: 4 kB / 402.3 MB, free: 5.898 MB / 318.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.001301/0.2285, allocations: 0.5996 MB / 402.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2285, allocations: 13.27 kB / 402.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.388e-05/0.2286, allocations: 5.438 kB / 402.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.2286, allocations: 53.62 kB / 402.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.2287, allocations: 33.09 kB / 403 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.2289, allocations: 211.3 kB / 403.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.229, allocations: 18.53 kB / 403.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.229, allocations: 25.59 kB / 403.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/0.2297, allocations: 314.2 kB / 403.5 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2297, allocations: 4 kB / 403.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.2298, allocations: 9.875 kB / 403.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.2298, allocations: 6.172 kB / 403.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008783/0.2307, allocations: 289.5 kB / 403.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.2322, allocations: 0.9319 MB / 404.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/0.2348, allocations: 484.6 kB / 405.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005894/0.2354, allocations: 200.2 kB / 405.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.2354, allocations: 7.031 kB / 405.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005698/0.236, allocations: 246.5 kB / 405.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.044e-06/0.236, allocations: 0 / 405.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001432/0.2374, allocations: 457.1 kB / 406.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.2375, allocations: 114.9 kB / 406.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.2377, allocations: 226.9 kB / 406.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.2377, allocations: 32.55 kB / 406.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.2378, allocations: 162 kB / 406.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.2379, allocations: 79 kB / 406.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.494e-05/0.238, allocations: 45.05 kB / 406.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.238, allocations: 338.3 kB / 407.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.2385, allocations: 136.2 kB / 407.2 MB, free: 3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.2389, allocations: 178.5 kB / 407.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008168/0.2397, allocations: 316.7 kB / 407.7 MB, free: 2.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2397, allocations: 0 / 407.7 MB, free: 2.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009994/0.2407, allocations: 409 kB / 408.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.2408, allocations: 37.16 kB / 408.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2408, allocations: 1.125 kB / 408.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2408, allocations: 3.344 kB / 408.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.2424, allocations: 240.4 kB / 408.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003706/0.2461, allocations: 3.19 MB / 411.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004154/0.2465, allocations: 54.03 kB / 411.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.2466, allocations: 10.58 kB / 411.6 MB, free: 15.67 MB / 334.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.0001834/0.2467, allocations: 143.8 kB / 411.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.2468, allocations: 27.36 kB / 411.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.2468, allocations: 27.22 kB / 411.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2469, allocations: 2.094 kB / 411.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2469, allocations: 1.75 kB / 411.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2469, allocations: 6.297 kB / 411.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.2486, allocations: 0.8647 MB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2486, allocations: 1.125 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.2502, allocations: 230.3 kB / 412.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2502, allocations: 2.219 kB / 412.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.2502, allocations: 6.281 kB / 412.9 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004495/0.2547, allocations: 3.21 MB / 416.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2547, allocations: 5.344 kB / 416.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.2563, allocations: 0.6023 MB / 416.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.2564, allocations: 30.72 kB / 416.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.2564, allocations: 6.375 kB / 416.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.2568, allocations: 47.27 kB / 416.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/0.2568, allocations: 25.48 kB / 416.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.2569, allocations: 13.16 kB / 416.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002248/0.2571, allocations: 167.2 kB / 417 MB, free: 11.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2571, allocations: 0 / 417 MB, free: 11.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005192/0.2576, allocations: 82.33 kB / 417.1 MB, free: 11.08 MB / 334.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.001886/0.2595, allocations: 1.146 MB / 418.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.262, allocations: 0.5262 MB / 418.8 MB, free: 9.906 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.262, allocations: 1.312 kB / 418.8 MB, free: 9.906 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.2638, allocations: 350.6 kB / 419.1 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.2643, allocations: 37.2 kB / 419.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006282/0.2705, allocations: 3.132 MB / 422.3 MB, free: 7.488 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.271, allocations: 0.7463 MB / 423 MB, free: 6.766 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.2711, allocations: 24.42 kB / 423.1 MB, free: 6.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.2713, allocations: 79.75 kB / 423.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2713, allocations: 0 / 423.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.3001, allocations: 6.609 MB / 429.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.6, allocations: 8 kB / 429.8 MB, free: 1.777 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_fmu --startTime=0 --stopTime=0.0002 --stepSize=3.97456e-08 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.013077908020932]