Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001288/0.001288, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001417/0.001417, allocations: 214.7 kB / 24.47 MB, free: 3.777 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.332/1.332, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",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.001795/0.001795, allocations: 57.81 kB / 347.2 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2504, allocations: 49.15 MB / 396.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004225/0.2546, allocations: 3.358 MB / 399.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.2566, allocations: 1.029 MB / 400.8 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002838/0.2569, allocations: 17.78 kB / 400.8 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.2572, allocations: 105.9 kB / 400.9 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008113/0.258, allocations: 240.4 kB / 401.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.2583, allocations: 149.9 kB / 401.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008707/0.2592, allocations: 0.9573 MB / 402.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.2596, allocations: 306.4 kB / 402.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.26, allocations: 419.9 kB / 402.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005686/0.2606, allocations: 492.9 kB / 403.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.2607, allocations: 99.78 kB / 403.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.2609, allocations: 102.9 kB / 403.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.2611, allocations: 283.5 kB / 403.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.2614, allocations: 381.4 kB / 404.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.2627, allocations: 1.282 MB / 405.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.2627, allocations: 0 / 405.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2627, allocations: 0 / 405.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.2627, allocations: 5.312 kB / 405.5 MB, free: 3.754 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002261/0.2649, allocations: 1.303 MB / 406.8 MB, free: 2.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.265, allocations: 13.83 kB / 406.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.2651, allocations: 110.8 kB / 407 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.2653, allocations: 97.33 kB / 407.1 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.2663, allocations: 0.5479 MB / 407.6 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.155e-05/0.2664, allocations: 48.11 kB / 407.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.2665, allocations: 63.41 kB / 407.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.2681, allocations: 0.9319 MB / 408.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.2681, allocations: 5.922 kB / 408.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.059e-05/0.2682, allocations: 29.94 kB / 408.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.138e-05/0.2682, allocations: 29.66 kB / 408.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.2694, allocations: 0.7867 MB / 409.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004334/0.2737, allocations: 2.5 MB / 412 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009878/0.2747, allocations: 497.3 kB / 412.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006783/0.2754, allocations: 316.1 kB / 412.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/0.2754, allocations: 9.703 kB / 412.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007441/0.2762, allocations: 401.9 kB / 413.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.2762, allocations: 0 / 413.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.003018/0.2792, allocations: 1.13 MB / 414.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.2793, allocations: 112.6 kB / 414.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000935/0.2802, allocations: 0.5746 MB / 415 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.496e-05/0.2803, allocations: 40 kB / 415 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.2806, allocations: 350.7 kB / 415.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.2808, allocations: 149.3 kB / 415.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.2809, allocations: 92.36 kB / 415.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.2811, allocations: 360.7 kB / 416 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.2815, allocations: 222.2 kB / 416.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.2821, allocations: 381.8 kB / 416.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009031/0.283, allocations: 0.57 MB / 417.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.283, allocations: 1.125 kB / 417.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001331/0.2843, allocations: 0.7457 MB / 417.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2843, allocations: 10.39 kB / 417.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.2843, allocations: 9.469 kB / 417.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005171/0.2848, allocations: 199.1 kB / 418.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.2852, allocations: 72.47 kB / 418.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/0.2886, allocations: 2.802 MB / 421 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.289, allocations: 51.81 kB / 421 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.289, allocations: 30.02 kB / 421 MB, free: 9.348 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004941/0.2895, allocations: 318.2 kB / 421.4 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.042e-05/0.2896, allocations: 58.3 kB / 421.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.2898, allocations: 67.28 kB / 421.5 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2898, allocations: 5.688 kB / 421.5 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.2898, allocations: 4 kB / 421.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2898, allocations: 5.547 kB / 421.5 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.2923, allocations: 1.526 MB / 423 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2923, allocations: 0 / 423 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.2925, allocations: 51.91 kB / 423.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/0.293, allocations: 196.8 kB / 423.3 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.293, allocations: 8 kB / 423.3 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003337/0.2964, allocations: 2.782 MB / 426.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2964, allocations: 0 / 426.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.2981, allocations: 1.101 MB / 427.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.2984, allocations: 115.6 kB / 427.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.2985, allocations: 11.94 kB / 427.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.2988, allocations: 23.97 kB / 427.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.2989, allocations: 55.84 kB / 427.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.299, allocations: 15.98 kB / 427.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005513/0.2995, allocations: 418.8 kB / 427.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2995, allocations: 0 / 427.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007157/0.3002, allocations: 203.5 kB / 428 MB, free: 2.707 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00208/0.3023, allocations: 1.652 MB / 429.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.3036, allocations: 0.7056 MB / 430.3 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3036, allocations: 1 kB / 430.3 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000738/0.3043, allocations: 474 kB / 430.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007093/0.305, allocations: 158.1 kB / 431 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009792/0.3148, allocations: 6.49 MB / 437.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.3154, allocations: 477.8 kB / 437.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002929/0.3157, allocations: 96.72 kB / 438 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.316, allocations: 239.4 kB / 438.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.316, allocations: 0 / 438.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05499/0.371, allocations: 17.06 MB / 455.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.14, allocations: 7.797 kB / 455.3 MB, free: 7.02 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.39208453707397]