Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.001373/0.001373, allocations: 103.6 kB / 21.18 MB, free: 332 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.001854/0.001854, allocations: 212 kB / 24.47 MB, free: 3.547 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.309/1.309, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",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.00175/0.00175, allocations: 58.73 kB / 347.2 MB, free: 9.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2394, allocations: 49.16 MB / 396.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.005964/0.2453, allocations: 5.478 MB / 401.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.2483, allocations: 1.663 MB / 403.5 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004328/0.2487, allocations: 51.91 kB / 403.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.2492, allocations: 306.5 kB / 403.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.2504, allocations: 441.1 kB / 404.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006442/0.251, allocations: 348.2 kB / 404.6 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001889/0.2529, allocations: 2.15 MB / 406.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.2545, allocations: 1.313 MB / 408.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.2556, allocations: 1.052 MB / 409.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.2571, allocations: 1.177 MB / 410.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003898/0.2574, allocations: 294.4 kB / 410.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007339/0.2582, allocations: 414.7 kB / 411 MB, free: 492 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000508/0.2587, allocations: 0.7013 MB / 411.7 MB, free: 4 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.2598, allocations: 0.9957 MB / 412.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003558/0.2633, allocations: 3.636 MB / 416.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2633, allocations: 1.062 kB / 416.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2633, allocations: 4 kB / 416.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.95e-05/0.2634, allocations: 0 / 416.3 MB, free: 12.66 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004773/0.2682, allocations: 2.437 MB / 418.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2682, allocations: 13.95 kB / 418.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004055/0.2686, allocations: 302.6 kB / 419.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005782/0.2692, allocations: 245.3 kB / 419.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.2716, allocations: 1.132 MB / 420.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.2717, allocations: 155.6 kB / 420.6 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.272, allocations: 210 kB / 420.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004478/0.2765, allocations: 2.642 MB / 423.5 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.2765, allocations: 0 / 423.5 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.2767, allocations: 88 kB / 423.5 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.087e-05/0.2768, allocations: 56 kB / 423.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003516/0.2803, allocations: 2.077 MB / 425.7 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.2913, allocations: 6.616 MB / 432.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.2932, allocations: 1.299 MB / 433.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.2947, allocations: 0.8893 MB / 434.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.2948, allocations: 17 kB / 434.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.2948, allocations: 47.5 kB / 434.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.866e-06/0.2948, allocations: 0 / 434.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.007609/0.3024, allocations: 3.891 MB / 438.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3025, allocations: 64.34 kB / 438.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.3036, allocations: 0.8718 MB / 439.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/0.3036, allocations: 45.7 kB / 439.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/0.3042, allocations: 0.8436 MB / 440.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.3045, allocations: 345.1 kB / 440.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.3048, allocations: 186.6 kB / 440.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.305, allocations: 341.9 kB / 441.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007737/0.3057, allocations: 497.7 kB / 441.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009359/0.3067, allocations: 0.6694 MB / 442.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.3084, allocations: 1.205 MB / 443.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3084, allocations: 4 kB / 443.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002603/0.311, allocations: 1.609 MB / 445.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3111, allocations: 8 kB / 445.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.3111, allocations: 4 kB / 445.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.3121, allocations: 470.9 kB / 445.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/0.3128, allocations: 175.8 kB / 445.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009282/0.3221, allocations: 8.817 MB / 454.5 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.3226, allocations: 47.95 kB / 454.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/0.3227, allocations: 36 kB / 454.6 MB, free: 7.676 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0009865/0.3237, allocations: 0.6535 MB / 455.3 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.3239, allocations: 103.3 kB / 455.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.3242, allocations: 137.9 kB / 455.5 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/0.3242, allocations: 12 kB / 455.5 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.3242, allocations: 7.984 kB / 455.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.3242, allocations: 7.969 kB / 455.5 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005878/0.3301, allocations: 3.325 MB / 458.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.3301, allocations: 4 kB / 458.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.3307, allocations: 119.9 kB / 459 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009775/0.3316, allocations: 451 kB / 459.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.3317, allocations: 19.98 kB / 459.4 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009248/0.341, allocations: 8.743 MB / 468.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.341, allocations: 0 / 468.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003676/0.3446, allocations: 2.301 MB / 470.5 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006053/0.3452, allocations: 207.3 kB / 470.7 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.3454, allocations: 20 kB / 470.7 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.3458, allocations: 43.95 kB / 470.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.346, allocations: 92.7 kB / 470.8 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/0.3461, allocations: 39.97 kB / 470.9 MB, free: 6.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008497/0.3469, allocations: 0.6044 MB / 471.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3469, allocations: 0 / 471.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001449/0.3484, allocations: 379.9 kB / 471.9 MB, free: 5.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004024/0.3524, allocations: 2.884 MB / 474.7 MB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.3552, allocations: 1.776 MB / 476.5 MB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3552, allocations: 4.438 kB / 476.5 MB, free: 1.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.357, allocations: 1.203 MB / 477.7 MB, free: 15.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.3582, allocations: 299.4 kB / 478 MB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/0.3761, allocations: 12.16 MB / 490.2 MB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.3774, allocations: 1.134 MB / 491.3 MB, free: 1.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005373/0.3779, allocations: 196.8 kB / 491.5 MB, free: 1.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007827/0.3787, allocations: 0.6165 MB / 492.1 MB, free: 1.082 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3787, allocations: 4 kB / 492.1 MB, free: 1.078 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08406/0.4628, allocations: 34.74 MB / 0.5145 GB, free: 14.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.2, allocations: 7.797 kB / 0.5145 GB, free: 14.21 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 17.811148206703365]